Skip to content

Instantly share code, notes, and snippets.

@sgharms
Created March 10, 2011 02:45
Show Gist options
  • Save sgharms/863485 to your computer and use it in GitHub Desktop.
Save sgharms/863485 to your computer and use it in GitHub Desktop.
why can't I upgrade?
sgharms@stharms-mac:~/gitcheckouts/rdoc$ rake test
e(in /Users/sgharms/gitcheckouts/rdoc)
rake aborted!
undefined method `plugin' for Hoe:Class
/Users/sgharms/gitcheckouts/rdoc/Rakefile:5:in `<top (required)>'
(See full trace by running task with --trace)
sgharms@stharms-mac:~/gitcheckouts/rdoc$ gem install hoe-git
ERROR: Error installing hoe-git:
hoe requires RubyGems version >= 1.4. Try 'gem update --system' to update RubyGems itself.
sgharms@stharms-mac:~/gitcheckouts/rdoc$ gem update --system
Updating RubyGems
Updating rubygems-update
Successfully installed rubygems-update-1.6.2
Updating RubyGems to 1.6.2
Installing RubyGems 1.6.2
/Users/sgharms/.rvm/gems/ruby-1.9.2-rc2/gems/rubygems-update-1.6.2/lib/rubygems/gem_runner.rb:84:in `<top (required)>': undefined method `load_plugins' for Gem:Module (NoMethodError)
from setup.rb:25:in `require'
from setup.rb:25:in `<main>'
sgharms@stharms-mac:~/gitcheckouts/rdoc$
@inkredabull
Copy link

This came in quite handy ;-)

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