logo       

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

lang.jruby.user

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

What version of jruby are you using?

On 11/20/07, Le Huy <lehuy_cse@xxxxxxxxx> wrote:
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




--
Fabio Kung
http://www.fabiokung.com
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise