Skip to content

Instantly share code, notes, and snippets.

@taylor
Created November 1, 2011 15:48
Show Gist options
  • Select an option

  • Save taylor/1330887 to your computer and use it in GitHub Desktop.

Select an option

Save taylor/1330887 to your computer and use it in GitHub Desktop.
$> rvm install jruby-1.6.5
jruby-1.6.5 - #fetching
jruby-1.6.5 - #downloading jruby-bin-1.6.5, this may take a while depending on your connection...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 14.6M 100 14.6M 0 0 655k 0 0:00:22 0:00:22 --:--:-- 809k
jruby-1.6.5 - #extracting jruby-bin-1.6.5 to /Users/taylor/sw/depot/rvm/src/jruby-1.6.5
jruby-1.6.5 - #extracted to /Users/taylor/sw/depot/rvm/src/jruby-1.6.5
Building Nailgun
jruby-1.6.5 - #installing to /Users/taylor/sw/depot/rvm/rubies/jruby-1.6.5
jruby-1.6.5 - #importing default gemsets (/Users/taylor/sw/depot/rvm/gemsets/)
Copying across included gems
Fetching: jruby-launcher-1.0.9-java.gem (100%)
Building native extensions. This could take a while...
Successfully installed jruby-launcher-1.0.9-java
1 gem installed
jruby-head taylor@lindqvist:(31642/0) ~/work/mojolingo/src/nokogiri
$> rvm use jruby-1.6.5
Using /Users/taylor/sw/depot/rvm/gems/jruby-1.6.5
jruby-1.6.5 taylor@lindqvist:(31643/0) ~/work/mojolingo/src/nokogiri
$> rvm gemset create mojolingo
'mojolingo' gemset created (/Users/taylor/sw/depot/rvm/gems/jruby-1.6.5@mojolingo).
jruby-1.6.5 taylor@lindqvist:(31644/0) ~/work/mojolingo/src/nokogiri
$> gem install bundler
Fetching: bundler-1.0.21.gem (100%)
Successfully installed bundler-1.0.21
1 gem installed
@taylor

taylor commented Nov 1, 2011

Copy link
Copy Markdown
Author

jruby-1.6.5@mojolingo taylor@lindqvist:(30353/0) ~/work/mojolingo/src/niceogiri
$> JVM_OPTS=--1.9 bundle update
/opt/local/lib/ruby/vendor_ruby/1.8/rubygems.rb:779:in report_activate_error': Could not find RubyGem bundler (>= 0) (Gem::LoadError) from /opt/local/lib/ruby/vendor_ruby/1.8/rubygems.rb:214:inactivate'
from /opt/local/lib/ruby/vendor_ruby/1.8/rubygems.rb:1082:in `gem'
from /opt/local/bin/bundle:18
jruby-1.6.5@mojolingo taylor@lindqvist:(30354/0) ~/work/mojolingo/src/niceogiri
$> gem install bundler
Fetching: bundler-1.0.21.gem (100%)
Successfully installed bundler-1.0.21
1 gem installed

@taylor

taylor commented Nov 1, 2011

Copy link
Copy Markdown
Author

jruby-1.6.5@mojolingo taylor@lindqvist:(30358/1) ~/work/mojolingo/src/niceogiri
$> JVM_OPTS=--1.9 bundle update
Fetching source index for http://rubygems.org/
Installing rake (0.9.2.2)
Using bundler (1.0.21)
Installing diff-lcs (1.1.3)
Installing minitest (1.7.2)
Installing nokogiri (1.5.0)
Using niceogiri (0.0.4) from source at /Users/taylor/work/src/clients/mojolingo/niceogiri
Installing rcov (0.9.11)
Installing rspec-core (2.7.1)
Installing rspec-expectations (2.7.0)
Installing rspec-mocks (2.7.0)
Installing rspec (2.7.0)
Installing yard (0.6.8)

@taylor

taylor commented Nov 1, 2011

Copy link
Copy Markdown
Author

= Nokogiri gem stuff =

jruby-1.6.5@mojolingo taylor@lindqvist:(31688/0) ~/work/mojolingo/src/nokogiri
$> JRUBY_OPTS="" bundle update
Fetching source index for http://rubygems.org/
Using rake (0.9.2.2)
Installing hoe (2.12.3)
Installing hoe-bundler (1.1.0)
Installing hoe-debugging (1.0.1)
Installing hoe-gemspec (1.0.0)
Installing hoe-git (1.4.1)
Installing json (1.6.1)
Installing mini_portile (0.2.2)
Installing minitest (2.2.2)
Installing racc (1.4.7) with native extensions
Installing rake-compiler (0.7.9)
Installing rdoc (3.11)
Installing rexical (1.0.5)
Using bundler (1.0.21)
Your bundle is updated! Use bundle show [gemname] to see where a bundled gem is installed.
jruby-1.6.5@mojolingo taylor@lindqvist:(31689/0) ~/work/mojolingo/src/nokogiri
$> JRUBY_OPTS="--1.9" bundle update
Fetching source index for http://rubygems.org/
Using rake (0.9.2.2)
Using hoe (2.12.3)
Using hoe-bundler (1.1.0)
Using hoe-debugging (1.0.1)
Using hoe-gemspec (1.0.0)
Using hoe-git (1.4.1)
Using json (1.6.1)
Using mini_portile (0.2.2)
Using minitest (2.2.2)
Using racc (1.4.7)
Using rake-compiler (0.7.9)
Using rdoc (3.11)
Using rexical (1.0.5)
Using bundler (1.0.21)
Your bundle is updated! Use bundle show [gemname] to see where a bundled gem is installed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment