logo       

[jruby-user] how to load/require compiled script: msg#00173

lang.jruby.user

Subject: [jruby-user] how to load/require compiled script

I have two simple ruby scripts

#foo.rb
puts "foo"

#bar.rb
require 'foo'
puts "bar"

After compiling both scripts using jrubyc I got foo.class and bar.class but can
not run
bar.class , load/require seems does not with compiled script

does anyone have the same problem ?



Le Huy
Centre of Software Engineering - CSE
18A Hoang Quoc Viet, Hanoi, Vietnam
tel.: +84 4 7919458
fax: +84 4 7914963
mobile: +84 90 3426717
url: http://le-huy.blogspot.com





____________________________________________________________________________________
Be a better sports nut! Let your teams follow you
with Yahoo Mobile. Try it now.
http://mobile.yahoo.com/sports;_ylt=At9_qDKvtAbMuh1G1SQtBI7ntAcJ

---------------------------------------------------------------------
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