将rails 3.0.0升级到3.2.13

时间:2013-11-07 04:42:48

标签: ruby-on-rails

请帮我看看如何将rails 3.0.0升级到rails 3.2.13。 这是我的GemFile,这里有什么变化?

# Edit this Gemfile to bundle your application's dependencies.
# This preamble is the current preamble for Rails 3 apps; edit as needed.
source 'http://rubygems.org'
gem 'eventmachine'
gem 'rails', '3.0.0'
#gem 'parseexcel'
gem 'will_paginate', ">=3.0.pre", :require => 'will_paginate'
gem 'gbarcode',:git =>'git://github.com/cameroncox/gbarcode.git',:branch =>'ruby1.9'
gem "pg"
gem "attr_encrypted"
gem "spreadsheet", "~> 0.7.5"
#gem "spreadsheet-excel"
#gem 'jquery-rails' 
gem 'prototype_legacy_helper', '0.0.0', :git => 'git://github.com/rails/prototype_legacy_helper.git'
#gem "dynamic_form"    this is for depricate the "error_message for " helper in rails 3
gem 'time_diff', '0.3.0'
gem "fastercsv"
gem 'rails-dev-boost', :git =>  'git://github.com/thedarkone/rails-dev-boost.git', :require =>  'rails_development_boost'
#gem "galetahub-simple_captcha", :require => "simple_captcha"

1 个答案:

答案 0 :(得分:0)

不幸的是,从Rails 3到3.2.x的变化不仅仅是宝石。 它还介绍了资产管道和其他一些变化。 编辑我错了,实际上资产管道是在Rails 3.1上引入的。

Ryan Bates对这次升级有一个非常好的截屏视频 http://railscasts.com/episodes/318-upgrading-to-rails-3-2

我还建议您阅读发行说明,以便更好地了解rails 3.2的功能。 http://guides.rubyonrails.org/3_2_release_notes.html 修改以及3.1 http://guides.rubyonrails.org/3_1_release_notes.html

的发行说明

我希望它有所帮助。