Andrew Colclough

Web Design & Dev., Liberty, Economics, Football

Annoyed by Ruby Gem 1.8.2 Notes about Deprecation?

Such as:

NOTE: Gem::Specification#default_executable= is deprecated with no replacement. It will be removed on or after 2011-10-01.

Try running:
gem pristine --all --no-extensions
That wiped them out for me. 

 

Filed under  //   annoying   deprecated   gems   note   ruby  

ERROR: could not find [gem] locally or in a repository

gem install --system

I ran into this issue the other day and the above code worked. You may or may not need to run "sudo gem update --system" of course if you get a permissions problem.

Also - if you need to get a little info about your installation and/or version of gems:

"gem env"

Filed under  //   --system   ERROR   gems   install   repository   ruby   tip