logo       

[jruby-user] Running compiled code errors with require: msg#00203

lang.jruby.user

Subject: [jruby-user] Running compiled code errors with require

I'm working on compiling some ruby code into class files. The ruby
file compiles with no problem, but I get an error when running it:

Exception in thread "main" process.rb:1:in `require': no such file to
load -- fileutils (LoadError)
...internal jruby stack elided...

Obviously its complaining because it can't find fileutils. What do I
need to do to help it along? I'm running sparc-jruby1.1b1 installed
in /usr/local/jruby. My file is called process.class, and here is my
command line:

java -classpath
/usr/local/jruby/lib/jruby.jar:/usr/local/jruby/build_lib/asm-3.0.jar:.
process

Thanks for your help,

Chris

---------------------------------------------------------------------
To unsubscribe from this list please visit:

http://xircles.codehaus.org/manage_email




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise