Skip to content

Instantly share code, notes, and snippets.

@maxmmurphy
Created October 29, 2010 18:14
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save maxmmurphy/654045 to your computer and use it in GitHub Desktop.
Save maxmmurphy/654045 to your computer and use it in GitHub Desktop.
##################
# Original issue #
##################
[11:05] > bundle exec rake spec
(in [snip])
/Users/max/.rvm/rubies/jruby-1.5.3/bin/jruby -S bundle exec rspec [snip]
/Users/max/.rvm/rubies/jruby-1.5.3/lib/ruby/site_ruby/1.8/rubygems.rb:777:in `report_activate_error': Could not find RubyGem bundler (>= 0) (Gem::LoadError)
from /Users/max/.rvm/rubies/jruby-1.5.3/lib/ruby/site_ruby/1.8/rubygems.rb:211:in `activate'
from /Users/max/.rvm/rubies/jruby-1.5.3/lib/ruby/site_ruby/1.8/rubygems.rb:1056:in `gem'
from /Users/max/.rvm/gems/jruby-1.5.3@proj1/bin/bundle:18
rake aborted!
ruby -S bundle exec rspec [snip] failed
(See full trace by running task with --trace)
################
# proj1 gemset #
################
[11:05] > rvm use jruby@proj1
Using /Users/max/.rvm/gems/jruby-1.5.3 with gemset proj1
[11:08] > gem list
*** LOCAL GEMS ***
bouncy-castle-java (1.5.0145.2)
bundler (1.0.3)
jruby-openssl (0.7.1)
rake (0.8.7)
#############
# no gemset #
#############
[11:08] > rvm use jruby-1.5.3
Using /Users/max/.rvm/gems/jruby-1.5.3
[11:10] > gem list
*** LOCAL GEMS ***
bouncy-castle-java (1.5.0145.2)
bundler (1.0.3)
columnize (0.3.1)
jruby-openssl (0.7.1)
rake (0.8.7)
rspec (1.3.0)
ruby-debug (0.10.3)
ruby-debug-base (0.10.3.2)
sources (0.0.1)
#################
# Global gemset #
#################
[11:12] > rvm use jruby@global
Using /Users/max/.rvm/gems/jruby-1.5.3 with gemset global
[11:12] > gem list
*** LOCAL GEMS ***
bouncy-castle-java (1.5.0145.2)
bundler (1.0.3)
jruby-openssl (0.7.1)
rake (0.8.7)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment