Reputation: 41
I guess I messed things up a little bit:
I wanted to play around with Ruby on Rails a little bit. I installed it a year ago but never used it. Till now.
Because of some problem a ran into I wanted to start from beginning with a fresh install. I uninstalled the Rails gems (3.0.7 and 3.1.1) and followed this guide for a fresh install: http://eddorre.com/posts/rails-ultimate-install-guide-on-os-x-snow-leopard-using-rvm-homebrew-and-passenger
But now gem does nothing - when I type gem install bundle
in my terminal the cursor goes straight to the next line. Even gem list
or gem --help
doesn't work. I get no error messages.
I have no clue what happened. Some thoughts?
Upvotes: 1
Views: 2394
Reputation: 16629
Please run this command in your console:
gem env
This command will return your gem environment, and one more correction: I guess it should be 'gem install bundler
' not 'gem install bundle
'.
Upvotes: 1
Reputation: 5973
I'll do a full reinstall of rvm:
rvm implode
and start again:
bash <<(curl -s https://rvm.beginrescueend.com/install/rvm)
If you try to recover the existing environment, there are some options to rvm that can be useful:
debug - show info plus additional information for common issues
upgrade - Lets you upgrade from one version of a ruby to another, including migrating your gemsets semi-automatically.
cleanup - Lets you remove stale source folders / archives and other miscellaneous data associated with rvm. repair - Lets you repair parts of your environment e.g. wrappers, env files and and similar files (e.g. general maintenance).
Upvotes: 2