我正在尝试将Rails 2.3.5应用程序推送到Heroku。
我设置了ruby-version和ruby-gemset。我的rails 2.3.5应用程序甚至没有Gemfile,但是Heroku需要它,所以我创建了一个简单的Gemfile只是为了入门:
source "http://rubygems.org/"
gem "rails", "2.3.5"
当我运行捆绑安装时,出现此错误:
Fetching gem metadata from http://rubygems.org/.............
Fetching gem metadata from http://rubygems.org/..
Resolving dependencies...
RubyGems 2.0.17 is not threadsafe, so your gems will be installed one at a time. Upgrade to RubyGems 2.1.0 or higher to enable parallel gem installation.
Fetching rake 12.3.1
Installing rake 12.3.1
Gem::InstallError: rake requires Ruby version >= 2.0.0.
An error occurred while installing rake (12.3.1), and Bundler cannot continue.
Make sure that `gem install rake -v '12.3.1' --source 'http://rubygems.org/'` succeeds before bundling.
In Gemfile:
rails was resolved to 2.3.5, which depends on
rake
我的宝石列表当前为:
*** LOCAL GEMS ***
bundler (1.16.3)
bundler-unload (1.0.2)
executable-hooks (1.3.2)
gem-wrappers (1.3.2, 1.2.7)
rake (10.1.1)
rubygems-bundler (1.4.4)
rvm (1.11.3.9)
我在这里需要做什么提示?