我的第一个 Rails 项目部署,我遇到了一个问题。该项目是Rails 3.2.1,Ruby 1.9.3 昨天,我获得了托管访问权限,他们拥有Rails 2.3.3,Ruby 1.8.7
如果我决定仍然在那里部署应用程序,我需要对其进行哪些更改?
具体来说,我对 Gemfile 的更改感兴趣。这是我当前的gemfile:
source 'https://rubygems.org'
gem 'rails', '2.3.3'#'3.2.1'
# Bundle edge Rails instead:
# gem 'rails', :git => 'git://github.com/rails/rails.git'
gem 'sqlite3'
# Gems used only for assets and not required
# in production environments by default.
group :assets do
gem 'sass-rails', '~> 3.2.3'
gem 'coffee-rails', '~> 3.2.1'
# See https://github.com/sstephenson/execjs#readme for more supported runtimes
# gem 'therubyracer'
gem 'uglifier', '>= 1.0.3'
end
gem 'jquery-rails'
gem 'haml-rails'
gem 'haml'
gem 'omniauth-twitter'
我需要改变什么?如何查找旧 Rails 版本所需的所有依赖项和 gems 版本?