耙测试失败

时间:2009-11-07 19:03:15

标签: automated-tests rake cucumber

Snow Leopard,Test,Shoulda,Cucumber

我正在运行rake测试并收到此错误:

有什么想法吗?

  

/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in   gem_original_require': no such file to load -- RMagick (MissingSourceFile) from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in 需要'来自   /Users/rafaelparra/Sites/e2g2/vendor/rails/activesupport/lib/active_support/dependencies.rb:158:in   来自require' from /Users/rafaelparra/Sites/e2g2/app/models/business_profile_image.rb:24 from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in gem_original_require'   /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in   require' from /Users/rafaelparra/Sites/e2g2/vendor/rails/activesupport/lib/active_support/dependencies.rb:158:in 需要'来自   /Users/rafaelparra/Sites/e2g2/vendor/rails/activesupport/lib/active_support/dependencies.rb:265:in   require_or_load' from /Users/rafaelparra/Sites/e2g2/vendor/rails/activesupport/lib/active_support/dependencies.rb:224:in 依赖于来自   /Users/rafaelparra/Sites/e2g2/vendor/rails/activesupport/lib/active_support/dependencies.rb:136:in   来自require_dependency' from /Users/rafaelparra/Sites/e2g2/config/../vendor/rails/railties/lib/initializer.rb:393:in load_application_classes'   /Users/rafaelparra/Sites/e2g2/config/../vendor/rails/railties/lib/initializer.rb:392:in   来自each' from /Users/rafaelparra/Sites/e2g2/config/../vendor/rails/railties/lib/initializer.rb:392:in load_application_classes'   /Users/rafaelparra/Sites/e2g2/config/../vendor/rails/railties/lib/initializer.rb:390:in   来自each' from /Users/rafaelparra/Sites/e2g2/config/../vendor/rails/railties/lib/initializer.rb:390:in load_application_classes'   /Users/rafaelparra/Sites/e2g2/config/../vendor/rails/railties/lib/initializer.rb:195:in   process' from /Users/rafaelparra/Sites/e2g2/config/../vendor/rails/railties/lib/initializer.rb:113:in 发送'来自   /Users/rafaelparra/Sites/e2g2/config/../vendor/rails/railties/lib/initializer.rb:113:in   run' from /Users/rafaelparra/Sites/e2g2/config/environment.rb:14 from ./test/unit/../test_helper.rb:2:in需要'来自   ./test/unit/../test_helper.rb:2来自./test/unit/answer_test.rb:14:in   来自require' from ./test/unit/answer_test.rb:14 from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake/rake_test_loader.rb:5:in 加载'   /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake/rake_test_loader.rb:5   从   /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake/rake_test_loader.rb:5:in   “每个人”来自   /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake/rake_test_loader.rb:5   耙子流产了!命令失败,状态为(1):   [/System/Library/Frameworks/Ruby.framework /...]

1 个答案:

答案 0 :(得分:0)

你有没有为Snow Leopard重新编译RMagic?

http://onrails.org/articles/2009/09/04/rmagick-from-source-on-snow-leopard