Reputation: 882
I get this error when trying ruby script/console
Rails requires RubyGems >= . Please install RubyGems and try again
I'm running ruby 1.8.6 and rails 2.3.2 and I have RubyGems installed, so perhaps this is a $PATH issue?
Upvotes: 2
Views: 1447
Reputation: 1988
Well it really looks as though you either don't have Gems installed, or it's not in your $PATH as you suggested.
You've given very little information to your problem, and more would be helpful: - What happened before you received this message - Has ruby, or gems worked on this machine before?
etc.
Some potential things to try-
My guess, although you've not given us enough information to make this obvious is that you switched machines. When you downloaded your code from another machine, you downloaded to a machine or user account that doesn't have gems installed.
Good luck, this shouldn't be too hard.
Upvotes: 6