Wednesday, August 28, 2013

ERROR: Error installing rails: activesupport requires Ruby version >= 1.9.3.

Check whether you are trying to install the correct version of Rails that are compatible with your Ruby Version.

You can check the ruby version by running the cmd "ruby -v"

Rails VersionPossible Ruby VersionsRecommended Ruby Version
1.0–2.11.8.61.8.6
2.21.8.6 or 1.8.71.8.7
2.31.8.6, 1.8.7, or 1.9.11.8.7
3.0–3.21.8.7, 1.9.2, or 1.9.31.9.3
4.0–…1.9.3, 2.0.x2.0.x

then try to install the rails

sudo gem install rails --version 3.2.12

No comments:

Post a Comment

Please include your thoughts/suggestion to make it as a better blog. If you find it useful, Please update with your valuable comments, so that others can use it.