Created
April 23, 2012 06:48
-
-
Save devudilip/2469235 to your computer and use it in GitHub Desktop.
How to create rails app with older version
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Hi geeks, | |
my rails new version is 3.2.3. | |
if i wanted to create new rails app with older version say 3.0.5, | |
i can create using the command | |
rails _3.0.5_ new app | |
but i was getting an error | |
/usr/local/lib/ruby/site_ruby/1.9.1/rubygems.rb:316:in `bin_path': can't find gem railties (["3.0.5"]) with executable rails (Gem::GemNotFoundException) | |
from /usr/local/bin/rails:19:in `<main>' | |
so | |
i just installed | |
sudo gem install rails -v ="3.0.5" | |
and then | |
rails _3.0.5_ new app | |
now its working fine | |
thank you |
Hi jimmy
the above solution worked for me.
you just try with uninstalling old version once
sudo gem clean or sudo uninstall gem rails
and again try with installing the gem with whatever version u want, so that it will install with dependencies and railties.
so try it :-)
ok thanks dev
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
i am getting the same error.If you find a solution or have found one already plz help me out also.
Thanks,
Jimmy