Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个 Rails 3.0.4 应用程序,但我的服务器使用 Rails 3.0.6
如何在我的应用程序中更新 Rails?
你在使用gemfile吗?
如果是这样,只需更新 gemfile 中的行:
gem 'rails', '3.0.6'
然后从命令行运行:
bundle update
更新 gem 依赖项
rake db:migrate
如果有任何数据库更改
bundle install
安装宝石。