Skip to content

Instantly share code, notes, and snippets.

@carlcrott
Created March 8, 2012 16:16
Show Gist options
  • Save carlcrott/2001838 to your computer and use it in GitHub Desktop.
Save carlcrott/2001838 to your computer and use it in GitHub Desktop.
ubuntu@domU-12-31-39-10-75-CD:~/skinny-sinatra-jruby$ bundle install
Fetching gem metadata from http://rubygems.org/.....
Installing jruby-rack (1.1.4)
Installing rack (1.4.1)
Installing rack-protection (1.2.0)
Installing tilt (1.3.3)
Installing sinatra (1.3.2)
Installing trinidad_jars (1.0.2)
Installing trinidad (1.3.4)
Using bundler (1.1.0)
Your bundle is complete! Use `bundle show [gemname]` to see where a bundled gem is installed.
ubuntu@domU-12-31-39-10-75-CD:~/skinny-sinatra-jruby$ jruby -S trinidad
Mar 8, 2012 4:13:22 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-bio-3000"]
Mar 8, 2012 4:13:22 PM org.apache.catalina.core.StandardService startInternal
INFO: Starting service Tomcat
Mar 8, 2012 4:13:22 PM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.23
2012-03-08 16:13:23 INFO: No global web.xml found
2012-03-08 16:13: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 16:13:25 INFO: Info: received min runtimes = 1
2012-03-08 16:13:25 INFO: Info: received max runtimes = 5
2012-03-08 16:13: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 16:13: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@skinnySinatraJruby/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@1ea6a1c
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@ef2e7c
--- $LOAD_PATH:
file:/home/ubuntu/.rvm/gems/jruby-1.6.7-d19@skinnySinatraJruby/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 16:13:25 SEVERE: unable to create shared application instance
2012-03-08 16:13:25 SEVERE: Error: application initialization failed
2012-03-08 16:13:25 INFO: Starting ProtocolHandler ["http-bio-3000"]
^C2012-03-08 16:13:57 INFO: Pausing ProtocolHandler ["http-bio-3000"]
2012-03-08 16:13:57 INFO: Stopping service Tomcat
2012-03-08 16:13:58 INFO: Stopping ProtocolHandler ["http-bio-3000"]
2012-03-08 16:13:58 INFO: Destroying ProtocolHandler ["http-bio-3000"]
ubuntu@domU-12-31-39-10-75-CD:~/skinny-sinatra-jruby$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment