After recent update of RubyGems (to 1.8), while running for example bundle install, the user will see a bunch of warnings, like:
NOTE: Gem::Specification# default_executable = is deprecated with no replacement. It will be removed on or after 2011-10-01.
This is connected with the recent policy of RubyGems team – read the official statement.
They have deprecated 22+ methods! It will take some time for Gem authors to update… Before then, you may run:
gem pristine --all --no-extensions
to get most recent and thus some of the warrnings gone…
Related Posts
- Export to Excel (xls) in Rails3
- RoR: Railroad plugin with Rails 2.3.5 on Windows error
- PIK: Multiple Ruby versions for Windows
- Github error – fatal: Unable to look up github.com (port 9418) (Name or service not known)
Maj 18th, 2011



Home
Maj 23rd, 2011 at 17:25
There is a script that tries to substitute deprecated elements:
http://stackoverflow.com/questions/5949521/how-do-i-fix-rubygems-recent-deprecation-warning
I hope this helps with annoying warrnings…
Maj 25th, 2011 at 03:44
Worked for me, got rid of all 10+ warnings. Thanks!
Lipiec 31st, 2011 at 13:14
..Thanks a lot .. I was getting 15+ warning messages (for most of the rails commands) which was very frustrating, but now I am not getting any warnings at all.