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 更新到特定版本?我的本地机器上有 Rails 3.2.2,但我需要更新到 3.2.3 版本。
如果我执行gem update rails,它将更新到最新版本 3.2.6。
gem update rails
我怎样才能做到这一点?
gem install rails --version=3.2.3
或者使用捆绑器。在 Gemfile 中写入:
gem 'rails', '3.2.3'
并在rails根目录中执行
bundle install