Ruby on rails Railities使用不正确的Rake版本

Ruby on rails Railities使用不正确的Rake版本,ruby-on-rails,ruby-on-rails-3.2,Ruby On Rails,Ruby On Rails 3.2,运行Rails 3.2.9应用程序时出现以下错误 Could not find rake-10.0.3 in any of the sources 我认为这是因为rake正在调用版本10.0.3,railities在我的gemlock文件中指定>0.8.7 railties (3.2.9) actionpack (= 3.2.9) activesupport (= 3.2.9) rack-ssl (~> 1.3.2) rake (>= 0.8.7) rdoc (

运行Rails 3.2.9应用程序时出现以下错误

Could not find rake-10.0.3 in any of the sources
我认为这是因为rake正在调用版本10.0.3,railities在我的gemlock文件中指定>0.8.7

railties (3.2.9)
  actionpack (= 3.2.9)
  activesupport (= 3.2.9)
  rack-ssl (~> 1.3.2)
  rake (>= 0.8.7)
  rdoc (~> 3.4)
  thor (>= 0.14.6, < 2.0)
rake (10.0.3)
railties(3.2.9)
actionpack(=3.2.9)
主动支持(=3.2.9)
机架ssl(~>1.3.2)
耙(大于等于0.8.7)
rdoc(~>3.4)
雷神(>=0.14.6,<2.0)
耙(10.0.3)
有没有办法指定railities的版本依赖关系?

指定

gem 'rake', '0.8.7'
修正了这个问题