Skip to content

Instantly share code, notes, and snippets.

@Stanley
Created July 26, 2011 09:40
Show Gist options
  • Save Stanley/1106389 to your computer and use it in GitHub Desktop.
Save Stanley/1106389 to your computer and use it in GitHub Desktop.
Rvm + JRuby issues
~> rvm -v
rvm 1.6.30 by Wayne E. Seguin (wayneeseguin@gmail.com) [https://rvm.beginrescueend.com/]
~> echo $JRUBY_OPTS
--1.9 --ng
~> java -version
java version "1.6.0_26"
Java(TM) SE Runtime Environment (build 1.6.0_26-b03)
Java HotSpot(TM) 64-Bit Server VM (build 20.1-b02, mixed mode)
~> rvm list
rvm rubies
/home/s/.rvm/rubies/jruby-head/lib/ruby/site_ruby/1.8/rubygems/remote_fetcher.rb:1 warning: loading in progress, circular require considered harmful - rubygems
require at org/jruby/RubyKernel.java:1046
(root) at /home/s/.rvm/rubies/jruby-head/lib/ruby/site_ruby/1.8/rubygems/remote_fetcher.rb:1
require at org/jruby/RubyKernel.java:1046
(root) at /home/s/.rvm/rubies/jruby-head/lib/ruby/site_ruby/1.8/rubygems/remote_fetcher.rb:1
Gem at /home/s/.rvm/rubies/jruby-head/lib/ruby/site_ruby/1.8/rubygems/spec_fetcher.rb:35
(root) at /home/s/.rvm/rubies/jruby-head/lib/ruby/site_ruby/1.8/rubygems/maven_gemify.rb:3
require at org/jruby/RubyKernel.java:1046
(root) at /home/s/.rvm/rubies/jruby-head/lib/ruby/site_ruby/1.8/rubygems/maven_gemify.rb:1
require at org/jruby/RubyKernel.java:1046
(root) at /home/s/.rvm/rubies/jruby-head/lib/ruby/site_ruby/1.8/rubygems/defaults/jruby.rb:1251
require at org/jruby/RubyKernel.java:1046
(root) at /home/s/.rvm/rubies/jruby-head/lib/ruby/site_ruby/1.8/rubygems.rb:13
/home/s/.rvm/rubies/jruby-head/lib/ruby/site_ruby/1.8/rubygems/text.rb:1 warning: loading in progress, circular require considered harmful - rubygems
require at org/jruby/RubyKernel.java:1046
(root) at /home/s/.rvm/rubies/jruby-head/lib/ruby/site_ruby/1.8/rubygems/text.rb:1
require at org/jruby/RubyKernel.java:1046
(root) at /home/s/.rvm/rubies/jruby-head/lib/ruby/site_ruby/1.8/rubygems/text.rb:4
Gem at /home/s/.rvm/rubies/jruby-head/lib/ruby/site_ruby/1.8/rubygems/spec_fetcher.rb:35
(root) at /home/s/.rvm/rubies/jruby-head/lib/ruby/site_ruby/1.8/rubygems/maven_gemify.rb:3
require at org/jruby/RubyKernel.java:1046
(root) at /home/s/.rvm/rubies/jruby-head/lib/ruby/site_ruby/1.8/rubygems/maven_gemify.rb:1
require at org/jruby/RubyKernel.java:1046
(root) at /home/s/.rvm/rubies/jruby-head/lib/ruby/site_ruby/1.8/rubygems/defaults/jruby.rb:1251
require at org/jruby/RubyKernel.java:1046
(root) at /home/s/.rvm/rubies/jruby-head/lib/ruby/site_ruby/1.8/rubygems.rb:13
jruby-head [ linux-amd64-java ]
jruby-1.6.2 [ linux-amd64-java ]
jruby-1.6.3 [ linux-amd64-java ]
ruby-1.9.2-p290 [ x86_64 ]
~> rvm use 1.9.2
Using /home/s/.rvm/gems/ruby-1.9.2-p290
~> ruby -v
ruby 1.9.2p290 (2011-07-09 revision 32553) [x86_64-linux]
~> rvm use jruby-head
Using /home/s/.rvm/gems/jruby-head
~> ruby -v
jruby 1.6.3 (ruby-1.9.2-p136) (2011-07-07 965162f) (Java HotSpot(TM) 64-Bit Server VM 1.6.0_26) [linux-amd64-java]
~> rvm use jruby
Using /home/s/.rvm/gems/jruby-1.6.3
~> ruby -v
jruby 1.6.3 (ruby-1.8.7-p330) (2011-07-07 965162f) (Java HotSpot(TM) 64-Bit Server VM 1.6.0_26) [linux-amd64-java]
~> rvm use jruby-1.6.2
Using /home/s/.rvm/gems/jruby-1.6.2
~> ruby -v
jruby 1.6.3 (ruby-1.8.7-p330) (2011-07-07 965162f) (Java HotSpot(TM) 64-Bit Server VM 1.6.0_26) [linux-amd64-java]
~>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment