2

我正在尝试运行自动测试,有一次它对我有用,然后它停止了。我一直在关注 ruby​​ on rails 教程。

lexi87$ autotest
Invalid gemspec in [/Users/lexi87/.rvm/gems/ruby-1.9.3-p374/specifications/ZenTest-4.8.4.gemspec]: Illformed requirement ["< 2.1, >= 1.8"]
Invalid gemspec in [/Users/lexi87/.rvm/gems/ruby-1.9.3-p374/specifications/ZenTest-4.8.4.gemspec]: Illformed requirement ["< 2.1, >= 1.8"]
loading autotest/rspec2
/Users/lexi87/rails_projects/sample_app/.autotest:1:in `require': cannot load such file -- autotest/growl (LoadError)
    from /Users/lexi87/rails_projects/sample_app/.autotest:1:in `<top (required)>'
    from /Users/lexi87/.rvm/gems/ruby-1.9.3-p374/gems/ZenTest-4.8.3/lib/autotest.rb:315:in `load'

因此,如果有人可以提供正确的步骤以使自动测试正常工作,那就太好了!谢谢

4

1 回答 1

4

看到这个问题:无法安装 ZenTest 4.8.4 看起来 ruby​​ gems 中有一个错误。建议的解决方案是将 zentest 降级到 4.8.3

于 2013-01-27T11:23:39.483 回答