How do you reinstall RubyGems as mentioned in no such file to load -- rubygems (LoadError)?
Running Mac OS X 10.8.2
I had massive trouble trying to get gem update --system
or gem install rubygems-update
working properly.
The only thing that worked was downloading right from the source and just overwriting your old version of RubyGems.
Simply download the latest here (was 2.0.3 at time of writing).
Extract the downloaded archive and cd
into the resulting directory.
Run the setup with ruby setup.rb
. (You may need to use sudo
for this, but try it without first.)
All good!
JP
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With