Error running rails server after installing jruby via rvm
I installed jruby using rvm and now when I use rvm to switch to using ruby-1.9.2 and try running my rails server in a different project I get the following errors:
LoadError: no such file to load -- 1.8/http11
require at org/jruby/RubyKernel.java:1038
require at /Users/thaiyoshi/.rvm/gems/ruby-1.9.2-p290/gems/activesupport--3.0.10/lib/active_support/dependencies.rb:239
I can post the full error but it is re开发者_开发问答petitive and complains about RubyKernel.java:1038 for activesupport, bundler, mongrel, and railties.
Here are the rubies I'm using:
jruby-1.6.4 [ darwin-x86_64-java ]
=> ruby-1.9.2-p290 [ x86_64 ]
Any suggestions? Are there things that I should be doing to avoid these types of conflicts?
Perhaps you don't yet have all the correct gems available for your JRuby environment. Did you remember to run "bundle install
" ?
精彩评论