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

Posted by Maarten Mortier (maartenm)
on 2010-03-03 10:16
(Received via mailing list)
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:in
`load'
  from <script>:1

Any idea what this is about?

--
Maarten

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

    http://xircles.codehaus.org/manage_email
Posted by Charles Nutter (headius)
on 2010-03-03 14:41
(Received via mailing list)
On Wed, Mar 3, 2010 at 3:16 AM, Maarten Mortier
<maarten.mortier@gmail.com> 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
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.