This worked for me when downgrading from 1.5.2 to 1.4.2 because of old rails version:
sudo gem update --system 1.4.2
More information about downgrading/upgrading rubygems: https://github.com/rubygems/rubygems/blob/master/UPGRADING.md
More Related Contents:
- How to remove RVM (Ruby Version Manager) from my system
- Ruby Gem install Json fails on Mavericks and Xcode 5.1 – unknown argument: ‘-multiply_definedsuppress’
- How to install a gem or update RubyGems if it fails with a permissions error
- How do I update Ruby Gems from behind a Proxy (ISA-NTLM)
- How to make –no-ri –no-rdoc the default for gem install?
- Meaning of tilde-greater-than (~>) in version requirement?
- Can’t install gems on OS X “El Capitan”
- The ‘json’ native gem requires installed build tools
- What does tilde-greater-than (~>) mean in Ruby gem dependencies? [duplicate]
- Why are we installing Ruby 1.9.2/1.9.3 gems into a 1.9.1 folder?
- You have already activated X, but your Gemfile requires Y
- How can I install a local gem?
- Adding a directory to $LOAD_PATH (Ruby)
- Installing RubyGems in Windows
- How to avoid “cannot load such file — utils/popen” from homebrew on OSX
- Unresolved specs during Gem::Specification.reset:
- Installing Jekyll without root
- Why are gems installed in a directory with a different Ruby version than I’m running?
- find_spec_for_exe’: can’t find gem bundler (>= 0.a) (Gem::GemNotFoundException)
- ERROR: While executing gem … (Errno::EPERM) Operation not permitted [duplicate]
- ERROR: While executing gem … (Gem::FilePermissionError)
- List of installed gems?
- Why does “compass watch” say it cannot load sass/script/node (LoadError)?
- Check for Ruby Gem availability
- how to install gems without sudo
- Rubygems: How do I add platform-specific dependency?
- ERROR: Error installing ffi: ERROR: Failed to build gem native extension
- Ruby gem for finding timezone of location [closed]
- Functional code examples in ruby
- Ruby : How to write a gem? [closed]