Create a gist now

Instantly share code, notes, and snippets.

EVERE: Application Error
org.jruby.rack.RackInitializationException: Could not find a JavaScript runtime. See https://github.com/sstephenson/execjs for a list of available runtimes.
from /var/lib/tomcat6/webapps/ROOT/WEB-INF/gems/gems/execjs-1.4.0/lib/execjs.rb:5:in `ExecJS'
from /var/lib/tomcat6/webapps/ROOT/WEB-INF/gems/gems/execjs-1.4.0/lib/execjs.rb:4:in `(root)'
from org/jruby/RubyKernel.java:1038:in `require'
from /var/lib/tomcat6/webapps/ROOT/WEB-INF/gems/gems/execjs-1.4.0/lib/execjs.rb:68:in `require'
from org/jruby/RubyArray.java:1602:in `each'
from /var/lib/tomcat6/webapps/ROOT/WEB-INF/gems/gems/bundler-1.0.18/lib/bundler/runtime.rb:66:in `require'
from org/jruby/RubyArray.java:1602:in `each'
from /var/lib/tomcat6/webapps/ROOT/WEB-INF/gems/gems/bundler-1.0.18/lib/bundler/runtime.rb:55:in `require'
from /var/lib/tomcat6/webapps/ROOT/WEB-INF/gems/gems/bundler-1.0.18/lib/bundler.rb:120:in `require'
from /var/lib/tomcat6/webapps/ROOT/WEB-INF/config/application.rb:8:in `(root)'
from org/jruby/RubyKernel.java:1038:in `require'
from /var/lib/tomcat6/webapps/ROOT/WEB-INF/gems/gems/activesupport-3.2.6/lib/active_support/dependencies.rb:251:in `require'
from /var/lib/tomcat6/webapps/ROOT/WEB-INF/gems/gems/activesupport-3.2.6/lib/active_support/dependencies.rb:236:in `load_dependency'
from /var/lib/tomcat6/webapps/ROOT/WEB-INF/gems/gems/activesupport-3.2.6/lib/active_support/dependencies.rb:251:in `require'
from /var/lib/tomcat6/webapps/ROOT/WEB-INF/config/application.rb:2:in `(root)'
from org/jruby/RubyKernel.java:1038:in `require'
from /var/lib/tomcat6/webapps/ROOT/WEB-INF/gems/gems/activesupport-3.2.6/lib/active_support/dependencies.rb:251:in `require'
from /var/lib/tomcat6/webapps/ROOT/WEB-INF/gems/gems/activesupport-3.2.6/lib/active_support/dependencies.rb:236:in `load_dependency'
from /var/lib/tomcat6/webapps/ROOT/WEB-INF/gems/gems/activesupport-3.2.6/lib/active_support/dependencies.rb:251:in `require'
from /var/lib/tomcat6/webapps/ROOT/WEB-INF/config/environment.rb:169:in `load_environment'
from file:/var/lib/tomcat6/webapps/ROOT/WEB-INF/lib/jruby-rack-1.0.9.jar!/jruby/rack/rails.rb:173:in `to_app'
from file:/var/lib/tomcat6/webapps/ROOT/WEB-INF/lib/jruby-rack-1.0.9.jar!/jruby/rack/rails.rb:193:in `new'
from <web.xml>:1:in `(root)'
from org/jruby/RubyKernel.java:2028:in `instance_eval'
from file:/var/lib/tomcat6/webapps/ROOT/WEB-INF/lib/jruby-rack-1.0.9.jar!/vendor/rack-1.2.2/rack/builder.rb:46:in `initialize'
from <web.xml>:1:in `(root)'
at org.jruby.rack.DefaultRackApplicationFactory$4.init(DefaultRackApplicationFactory.java:204)
at org.jruby.rack.DefaultRackApplicationFactory.getApplication(DefaultRackApplicationFactory.java:54)
at org.jruby.rack.PoolingRackApplicationFactory.getApplication(PoolingRackApplicationFactory.java:95)
at org.jruby.rack.DefaultRackDispatcher.process(DefaultRackDispatcher.java:28)
at org.jruby.rack.RackFilter.doFilter(RackFilter.java:58)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
at java.lang.Thread.run(Thread.java:619)
Caused by: org.jruby.exceptions.RaiseException: (RuntimeUnavailable) Could not find a JavaScript runtime. See https://github.com/sstephenson/execjs for a list of available runtimes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment