Change version of rails

我是研究僧i 提交于 2019-12-05 18:35:45
My God

Try this:

rvm use <ruby version>

You can also check your installed ruby versions using rvm list and then switch over. Then do:

rvm gemset create rails3.2.13
rvm <ruby version>@rails3.2.13
gem install rails --version=3.2.13

Remove your Gemfile.lock and install rails again. Make sure you specify the version of Rails.

source 'http://production.cf.rubygems.org'
ruby '1.9.3'

gem 'rails',           '3.2.13'
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!