【问题标题】:Rails 3: How can one update Rspec 2.3.0 to 2.4.0 ?Rails 3:如何将 Rspec 2.3.0 更新为 2.4.0 ?
【发布时间】:2026-02-18 17:55:01
【问题描述】:

我尝试将它放在我的 Gemfile 中并得到:

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

The bundle currently has rspec locked at 2.3.0.

【问题讨论】:

    标签: ruby-on-rails ruby-on-rails-3 rspec bundler rspec2


    【解决方案1】:

    尝试在你的项目目录中运行bundle update rspec,然后读取the bundler website on updating a dependency.

    【讨论】:

      最近更新 更多