Ruby on rails Rails3:如何将RSpec2.3.0更新为2.4.0?

Ruby on rails Rails3:如何将RSpec2.3.0更新为2.4.0?,ruby-on-rails,ruby-on-rails-3,rspec,bundler,rspec2,Ruby On Rails,Ruby On Rails 3,Rspec,Bundler,Rspec2,我试着把它放在我的档案里,得到了: Fetching source index for http://rubygems.org/ You have requested: rspec = 2.4.0 The bundle currently has rspec locked at 2.3.0. 尝试在项目目录中运行bundle update rspec,然后读取尝试在项目目录中运行bundle update rspec,然后读取

我试着把它放在我的档案里,得到了:

Fetching source index for http://rubygems.org/ You have requested: rspec = 2.4.0

The bundle currently has rspec locked at 2.3.0.

尝试在项目目录中运行
bundle update rspec
,然后读取尝试在项目目录中运行
bundle update rspec
,然后读取