HI. I'm using rbenv install of jruby 1.7 preview 2 on linux machine. When I try to start up the app, I get the following error.
Any ideas?
The signal USR1 is in use by the JVM and will not work correctly on this platform
include_class is deprecated. Use java_import.
include_class is deprecated. Use java_import.
LoadError: load error: patron/session_ext -- java.lang.RuntimeException: C extension initialized against invalid ruby runtime
require at org/jruby/RubyKernel.java:1024
require at /home/webapps/spotdock/releases/20120920162052/vendor/bundle/jruby/1.9/gems/activesupport-3.1.1/lib/active_support/dependencies.rb:240
load_dependency at /home/webapps/spotdock/releases/20120920162052/vendor/bundle/jruby/1.9/gems/activesupport-3.1.1/lib/active_support/dependencies.rb:223
new_constants_in at /home/webapps/spotdock/releases/20120920162052/vendor/bundle/jruby/1.9/gems/activesupport-3.1.1/lib/active_support/dependencies.rb:640
new_constants_in at /home/webapps/spotdock/releases/20120920162052/vendor/bundle/jruby/1.9/gems/activesupport-3.1.1/lib/active_support/dependencies.rb:639
load_dependency at /home/webapps/spotdock/releases/20120920162052/vendor/bundle/jruby/1.9/gems/activesupport-3.1.1/lib/active_support/dependencies.rb:223
require at /home/webapps/spotdock/releases/20120920162052/vendor/bundle/jruby/1.9/gems/activesupport-3.1.1/lib/active_support/dependencies.rb:240
(root) at /home/webapps/spotdock/releases/20120920162052/vendor/bundle/jruby/1.9/gems/patron-0.4.18/lib/patron/session.rb:30
require at org/jruby/RubyKernel.java:1024
require at /home/webapps/spotdock/releases/20120920162052/vendor/bundle/jruby/1.9/gems/activesupport-3.1.1/lib/active_support/dependencies.rb:240
load_dependency at /home/webapps/spotdock/releases/20120920162052/vendor/bundle/jruby/1.9/gems/activesupport-3.1.1/lib/active_support/dependencies.rb:223
new_constants_in at /home/webapps/spotdock/releases/20120920162052/vendor/bundle/jruby/1.9/gems/activesupport-3.1.1/lib/active_support/dependencies.rb:640
new_constants_in at /home/webapps/spotdock/releases/20120920162052/vendor/bundle/jruby/1.9/gems/activesupport-3.1.1/lib/active_support/dependencies.rb:639
load_dependency at /home/webapps/spotdock/releases/20120920162052/vendor/bundle/jruby/1.9/gems/activesupport-3.1.1/lib/active_support/dependencies.rb:223
require at /home/webapps/spotdock/releases/20120920162052/vendor/bundle/jruby/1.9/gems/activesupport-3.1.1/lib/active_support/dependencies.rb:240
(root) at /home/webapps/spotdock/releases/20120920162052/vendor/bundle/jruby/1.9/gems/patron-0.4.18/lib/patron.rb:1
require at org/jruby/RubyKernel.java:1024
(root) at /home/webapps/spotdock/releases/20120920162052/vendor/bundle/jruby/1.9/gems/patron-0.4.18/lib/patron.rb:30
each at org/jruby/RubyArray.java:1612
(root) at /root/.rbenv/versions/jruby-1.7.0-preview2/lib/ruby/gems/shared/gems/bundler-1.1.3/lib/bundler/runtime.rb:1
each at org/jruby/RubyArray.java:1612
require at /root/.rbenv/versions/jruby-1.7.0-preview2/lib/ruby/gems/shared/gems/bundler-1.1.3/lib/bundler/runtime.rb:68
require at /root/.rbenv/versions/jruby-1.7.0-preview2/lib/ruby/gems/shared/gems/bundler-1.1.3/lib/bundler/runtime.rb:66
require at /root/.rbenv/versions/jruby-1.7.0-preview2/lib/ruby/gems/shared/gems/bundler-1.1.3/lib/bundler/runtime.rb:55
require at org/jruby/RubyKernel.java:1024
require at /root/.rbenv/versions/jruby-1.7.0-preview2/lib/ruby/gems/shared/gems/bundler-1.1.3/lib/bundler.rb:119
require at org/jruby/RubyKernel.java:1024
(root) at /home/webapps/spotdock/releases/20120920162052/config/application.rb:12
(root) at /home/webapps/spotdock/releases/20120920162052/config/environment.rb:1
(root) at /home/webapps/spotdock/releases/20120920162052/config/environment.rb:5
load at org/jruby/RubyKernel.java:1050
I don't use JRuby and I am not really familiar with how it handles C extensions. It looks like the real problem is "C extension initialized against invalid ruby runtime", but I have no idea what that means.
HI. I'm using rbenv install of jruby 1.7 preview 2 on linux machine. When I try to start up the app, I get the following error.
Any ideas?
The signal USR1 is in use by the JVM and will not work correctly on this platform include_class is deprecated. Use java_import. include_class is deprecated. Use java_import. LoadError: load error: patron/session_ext -- java.lang.RuntimeException: C extension initialized against invalid ruby runtime require at org/jruby/RubyKernel.java:1024 require at /home/webapps/spotdock/releases/20120920162052/vendor/bundle/jruby/1.9/gems/activesupport-3.1.1/lib/active_support/dependencies.rb:240 load_dependency at /home/webapps/spotdock/releases/20120920162052/vendor/bundle/jruby/1.9/gems/activesupport-3.1.1/lib/active_support/dependencies.rb:223 new_constants_in at /home/webapps/spotdock/releases/20120920162052/vendor/bundle/jruby/1.9/gems/activesupport-3.1.1/lib/active_support/dependencies.rb:640 new_constants_in at /home/webapps/spotdock/releases/20120920162052/vendor/bundle/jruby/1.9/gems/activesupport-3.1.1/lib/active_support/dependencies.rb:639 load_dependency at /home/webapps/spotdock/releases/20120920162052/vendor/bundle/jruby/1.9/gems/activesupport-3.1.1/lib/active_support/dependencies.rb:223 require at /home/webapps/spotdock/releases/20120920162052/vendor/bundle/jruby/1.9/gems/activesupport-3.1.1/lib/active_support/dependencies.rb:240 (root) at /home/webapps/spotdock/releases/20120920162052/vendor/bundle/jruby/1.9/gems/patron-0.4.18/lib/patron/session.rb:30 require at org/jruby/RubyKernel.java:1024 require at /home/webapps/spotdock/releases/20120920162052/vendor/bundle/jruby/1.9/gems/activesupport-3.1.1/lib/active_support/dependencies.rb:240 load_dependency at /home/webapps/spotdock/releases/20120920162052/vendor/bundle/jruby/1.9/gems/activesupport-3.1.1/lib/active_support/dependencies.rb:223 new_constants_in at /home/webapps/spotdock/releases/20120920162052/vendor/bundle/jruby/1.9/gems/activesupport-3.1.1/lib/active_support/dependencies.rb:640 new_constants_in at /home/webapps/spotdock/releases/20120920162052/vendor/bundle/jruby/1.9/gems/activesupport-3.1.1/lib/active_support/dependencies.rb:639 load_dependency at /home/webapps/spotdock/releases/20120920162052/vendor/bundle/jruby/1.9/gems/activesupport-3.1.1/lib/active_support/dependencies.rb:223 require at /home/webapps/spotdock/releases/20120920162052/vendor/bundle/jruby/1.9/gems/activesupport-3.1.1/lib/active_support/dependencies.rb:240 (root) at /home/webapps/spotdock/releases/20120920162052/vendor/bundle/jruby/1.9/gems/patron-0.4.18/lib/patron.rb:1 require at org/jruby/RubyKernel.java:1024 (root) at /home/webapps/spotdock/releases/20120920162052/vendor/bundle/jruby/1.9/gems/patron-0.4.18/lib/patron.rb:30 each at org/jruby/RubyArray.java:1612 (root) at /root/.rbenv/versions/jruby-1.7.0-preview2/lib/ruby/gems/shared/gems/bundler-1.1.3/lib/bundler/runtime.rb:1 each at org/jruby/RubyArray.java:1612 require at /root/.rbenv/versions/jruby-1.7.0-preview2/lib/ruby/gems/shared/gems/bundler-1.1.3/lib/bundler/runtime.rb:68 require at /root/.rbenv/versions/jruby-1.7.0-preview2/lib/ruby/gems/shared/gems/bundler-1.1.3/lib/bundler/runtime.rb:66 require at /root/.rbenv/versions/jruby-1.7.0-preview2/lib/ruby/gems/shared/gems/bundler-1.1.3/lib/bundler/runtime.rb:55 require at org/jruby/RubyKernel.java:1024 require at /root/.rbenv/versions/jruby-1.7.0-preview2/lib/ruby/gems/shared/gems/bundler-1.1.3/lib/bundler.rb:119 require at org/jruby/RubyKernel.java:1024 (root) at /home/webapps/spotdock/releases/20120920162052/config/application.rb:12 (root) at /home/webapps/spotdock/releases/20120920162052/config/environment.rb:1 (root) at /home/webapps/spotdock/releases/20120920162052/config/environment.rb:5 load at org/jruby/RubyKernel.java:1050