将Rails应用程序从3.2.6升级到3.2.8 [英] Upgrading Rails app from 3.2.6 to 3.2.8

查看:76
本文介绍了将Rails应用程序从3.2.6升级到3.2.8的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个使用Rails 3.2.6创建的Rails应用程序.现在3.2.8已发布,这是我更新应用程序所需要做的所有事情吗?

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. 编辑Gemfile,将行gem 'rails', '3.2.6'更改为gem 'rails', '3.2.8'
  2. 运行bundle update rails
  1. Edit Gemfile, changing the line gem 'rails', '3.2.6' to gem 'rails', '3.2.8'
  2. Run bundle update rails

Gemfile中其他由Rails生成的条目(例如sass-railscoffee-railsuglifier)如何?

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

推荐答案

圣地亚哥·帕斯托里诺(Rails核心团队成员)的提示,他确认这是必需的:

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

  1. 编辑Gemfile,将gem 'rails', '3.2.6'行更改为gem 'rails', '3.2.8'
  2. 运行bundle update rails
  1. Edit Gemfile, changing the line gem 'rails', '3.2.6' to gem 'rails', '3.2.8'
  2. Run bundle update rails

确认推文.

这篇关于将Rails应用程序从3.2.6升级到3.2.8的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆