Topic: Rails 3 using PDFBox via Rjb

Hi,I am using Apache PDFBox library for form filling a PDF document in a Rails Application using rjb. Although this code works fine in Ruby (irb) environment. It results in Syntaxerror when run within rails.Ruby wrapper: require 'rubygems'module PDFutils    class PDFboxwrapper        def getfields(srcfile)            #Load Java Jar            path_to_jar = File.join(File.dirname(File.expand_path(__FILE__)),