Ruby on Rails Thursday, July 29, 2010

Version hell...I have the latest version of gems installed and gems -v
proves this, but somewhere an old copy is hanging about - how do I get
rid of this old version? This is driving me nuts!

I seem to be getting conflicted installations of gems:

For example

$ ruby script/generate model product
Rails requires RubyGems >= 1.3.2 (you have 1.2.0). Please `gem update
--system` and try again.

brett@ubuntu:~/RoR/Apps/OpenBenefit/depot$ gem update --system
ERROR: While executing gem ... (RuntimeError)
gem update --system is disabled on Debian. RubyGems can be updated
using the official Debian repositories by aptitude or apt-get.


brett@ubuntu:~/RoR/Apps/OpenBenefit/depot$ gem -v
1.3.5
--
Posted via http://www.ruby-forum.com/.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

No comments:

Post a Comment