1

我正在粗略地浏览http://ruby.railstutorial.org/chapters/并且正准备测试http://ruby.railstutorial.org/chapters/static-pages#sec:testing_tools。我在我的 Gemfile 中列出了与自动测试相关的 gem,并且运行正常bundle install,但是当我尝试启动服务器时,我得到了错误Could not find ZenTest-4.6.2 in any of the sources。所以我将 ZenTest 4.6.2 添加到我的 Gemfile 并重新运行bundle install

现在根据我的 bash 终端,我的 include bundle is completeUsing ZenTest (4.6.2)但是当我尝试启动我的服务器时,我仍然收到错误Could not find ZenTest-4.6.2 in any of the sources。那么是安装了还是没有安装呢?我应该如何解决这个冲突?

4

1 回答 1

0

它应该只是说: gem 文件中的 gem "ZenTest",而不是版本号。

于 2011-09-23T03:36:14.893 回答