Skip to content

Instantly share code, notes, and snippets.

@carlcrott
Created March 8, 2012 15:45
Show Gist options
  • Save carlcrott/2001588 to your computer and use it in GitHub Desktop.
Save carlcrott/2001588 to your computer and use it in GitHub Desktop.
ubuntu@ip-10-140-12-134:~/skinny-sinatra-jruby$ jruby -S trinidad
Mar 8, 2012 3:45:22 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-bio-3000"]
Mar 8, 2012 3:45:22 PM org.apache.catalina.core.StandardService startInternal
INFO: Starting service Tomcat
Mar 8, 2012 3:45:22 PM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.23
2012-03-08 15:45:23 INFO: No global web.xml found
2012-03-08 15:45:24 INFO: jruby 1.6.7 (ruby-1.8.7-p357) (2012-02-22 3e82bc8) (OpenJDK Client VM 1.6.0_20) [linux-i386-java]
2012-03-08 15:45:25 INFO: Info: received min runtimes = 1
2012-03-08 15:45:25 INFO: Info: received max runtimes = 5
2012-03-08 15:45:25 INFO: An exception happened during JRuby-Rack startup
no such file to load -- sinatra
--- System
jruby 1.6.7 (ruby-1.8.7-p357) (2012-02-22 3e82bc8) (OpenJDK Client VM 1.6.0_20) [linux-i386-java]
Time: Thu Mar 08 15:45:25 +0000 2012
Server: Apache Tomcat/7.0.23
jruby.home: /home/ubuntu/.rvm/rubies/jruby-1.6.7-d19
--- Context Init Parameters:
jruby.compat.version = 1.8.7
jruby.initial.runtimes = 1
jruby.max.runtimes = 5
jruby.min.runtimes = 1
public.root = /public
rack.env = development
rackup.path = config.ru
--- Backtrace
LoadError: no such file to load -- sinatra
require at org/jruby/RubyKernel.java:1033
(root) at ./app/app.rb:2
require at org/jruby/RubyKernel.java:1033
(root) at ./app/app.rb:1
instance_eval at org/jruby/RubyKernel.java:2045
initialize at file:/home/ubuntu/.rvm/gems/jruby-1.6.7-d19@sinatraJrubyHeroku/gems/jruby-rack-1.1.4/lib/jruby-rack-1.1.4.jar!/vendor/rack-1.4.1/rack/builder.rb:51
(root) at /home/ubuntu/skinny-sinatra-jruby/config.ru:1
--- Bundler
undefined method `bundle_path' for Bundler:Module
--- JRuby-Rack Config
compat_version = RUBY1_8
filter_adds_html = true
filter_verifies_resource = false
ignore_environment = false
initial_runtimes = 1
jms_connection_factory =
jms_jndi_properties =
logger = org.jruby.rack.logging.ServletContextLogger@b280b1
logger_class_name = servlet_context
logger_name = jruby.rack
maximum_runtimes = 5
num_initializer_threads =
rackup =
rackup_path = config.ru
rewindable = true
runtime_arguments =
runtime_timeout_seconds =
serial_initialization = false
servlet_context = org.apache.catalina.core.ApplicationContextFacade@1098594
--- $LOAD_PATH:
file:/home/ubuntu/.rvm/gems/jruby-1.6.7-d19@sinatraJrubyHeroku/gems/jruby-rack-1.1.4/lib/jruby-rack-1.1.4.jar!/vendor/rack-1.4.1
/home/ubuntu/.rvm/rubies/jruby-1.6.7-d19/lib/ruby/site_ruby/1.8
/home/ubuntu/.rvm/rubies/jruby-1.6.7-d19/lib/ruby/site_ruby/shared
/home/ubuntu/.rvm/rubies/jruby-1.6.7-d19/lib/ruby/1.8
.
2012-03-08 15:45:25 SEVERE: unable to create shared application instance
2012-03-08 15:45:25 SEVERE: Error: application initialization failed
2012-03-08 15:45:25 INFO: Starting ProtocolHandler ["http-bio-3000"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment