Application initialization failed: no such file to load -- time

I’m trying to understand deployment under Tomcat.

I have a working configuration under an Eclipse tomcat.

I simply copied the whole structure into the webapps directory of a
standalone tomcat.
And copied the jruby-rack and jruby .jars into tomcat’s lib.

The deploy seems to work, but when I access my app I see this coming
over http:

Application initialization failed: no such file to load – time
from
file:/C:/bin/tomcat6.0/webapps/CyberTrack3/WEB-INF/lib/jruby-rack-0.9.6-20091009.002900-1.jar!/jruby/rack/booter.rb:24:in
boot!' from file:/C:/bin/tomcat6.0/webapps/CyberTrack3/WEB-INF/lib/jruby-rack-0.9.6-20091009.002900-1.jar!/jruby/rack/boot/rack.rb:9 from file:/C:/bin/tomcat6.0/webapps/CyberTrack3/WEB-INF/lib/jruby-rack-0.9.6-20091009.002900-1.jar!/jruby/rack/boot/rack.rb:1:inload’
from :1

Any idea what this is about?


Maarten


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email

On Wed, Mar 3, 2010 at 3:16 AM, Maarten M.
[email protected] wrote:

Application initialization failed: no such file to load – time
The “time” library is part of the Ruby standard library, which is not
included in the base jruby.jar. You probably want jruby-complete.jar,
which includes the stdlib.

  • Charlie

To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs