Upgrading Rails app from 3.2.6 to 3.2.8

本秂侑毒 提交于 2020-01-13 09:48:07

问题


I have a Rails app that was created using Rails 3.2.6. Now that 3.2.8 has been released, is this all I need to do to update the app?

  1. Edit Gemfile, changing the line gem 'rails', '3.2.6' to gem 'rails', '3.2.8'
  2. Run bundle update rails

What about other Rails-generated entries in the Gemfile, such as sass-rails, coffee-rails and uglifier?


回答1:


Hat tip to Santiago Pastorino (Rails Core Team Member), who confirmed this is all that's required:

  1. Edit Gemfile, changing the line gem 'rails', '3.2.6' to gem 'rails', '3.2.8'
  2. Run bundle update rails

Confirmation tweet.




回答2:


After running $ bundle install, run $ rake rails:update



来源:https://stackoverflow.com/questions/11898361/upgrading-rails-app-from-3-2-6-to-3-2-8

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