Closed
Description
I use JRuby 1.7.18 with Rails 3.2.22 and Trinidad 1.4.4 on Mac OS X.
My application runs just fine with jruby-rack 1.1.10 - 1.1.14. But starting with 1.1.16 I get the following exception. My colleague on Linux has no problems with 1.1.18 and the same setup.
Were there any configuration changes introduced?
org.jruby.rack.RackInitializationException: can't convert nil into String
from org/jruby/ext/pathname/RubyPathname.java:206:in `initialize'
from file:/usr/local/var/rbenv/versions/jruby-1.7.18/lib/ruby/gems/shared/gems/jruby-rack-1.1.16/lib/jruby-rack-1.1.16.jar!/jruby/rack/rails/railtie.rb:16:in `Railtie'
from org/jruby/RubyProc.java:290:in `call'
from org/jruby/RubyProc.java:271:in `call'
from /usr/local/var/rbenv/versions/jruby-1.7.18/lib/ruby/gems/shared/gems/activesupport-3.2.22/lib/active_support/lazy_load_hooks.rb:34:in `execute_hook'
from /usr/local/var/rbenv/versions/jruby-1.7.18/lib/ruby/gems/shared/gems/activesupport-3.2.22/lib/active_support/lazy_load_hooks.rb:43:in `run_load_hooks'
from org/jruby/RubyArray.java:1613:in `each'
from /usr/local/var/rbenv/versions/jruby-1.7.18/lib/ruby/gems/shared/gems/activesupport-3.2.22/lib/active_support/lazy_load_hooks.rb:42:in `run_load_hooks'
from /usr/local/var/rbenv/versions/jruby-1.7.18/lib/ruby/gems/shared/gems/railties-3.2.22/lib/rails/application.rb:67:in `inherited'
from /Users/martin/RubymineProjects/project/config/application.rb:17:in `Project'
from /Users/martin/RubymineProjects/project/config/application.rb:16:in `(root)'
from org/jruby/RubyKernel.java:1071:in `require'
from /Users/martin/RubymineProjects/project/config/environment.rb:1:in `(root)'
from org/jruby/RubyKernel.java:1071:in `require'
from /Users/martin/RubymineProjects/project/config/environment.rb:3:in `(root)'
from file:/usr/local/var/rbenv/versions/jruby-1.7.18/lib/ruby/gems/shared/gems/jruby-rack-1.1.16/lib/jruby-rack-1.1.16.jar!/jruby/rack/rails/environment3.rb:1:in `(root)'
from file:/usr/local/var/rbenv/versions/jruby-1.7.18/lib/ruby/gems/shared/gems/jruby-rack-1.1.16/lib/jruby-rack-1.1.16.jar!/jruby/rack/rails/environment3.rb:25:in `load_environment'
at org.jruby.rack.RackInitializationException.wrap(RackInitializationException.java:29)
at org.jruby.rack.RackApplicationFactoryDecorator.init(RackApplicationFactoryDecorator.java:104)
at org.jruby.rack.RackServletContextListener.contextInitialized(RackServletContextListener.java:50)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4797)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5291)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Metadata
Metadata
Assignees
Labels
No labels