Re: Compiling Rails app/**/* to .class files

Charles Oliver N. wrote:

~/projects/jruby âž” jruby -e “load ‘./foo.class’”
here

I will file a bug for 1.1.5. I see the light now, and believe load
should search for both .class and .rb when requested to load xxx.rb.

This behavior seems to have made it into Jruby 1.3, but it does not
work for ‘require’:

~/projects/jruby âž” jruby -e “require ‘./foo.class’”
…no such file to load…

Is this an oversight, or intended? We are trying to use class files
in a rails WAR, but the ruby classes are not being found…

Thanks,
– Chad


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email