耙测试失败

雪豹,测试,应该,黄瓜

我正在运行耙测试,并得到这个错误:

有任何想法吗?

/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 require中from / 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:在require_or_load' from /Users/rafaelparra/Sites/e2g2/vendor/rails/activesupport/lib/active_support/dependencies.rb:224:in中的require_or_load' from /Users/rafaelparra/Sites/e2g2/vendor/rails/activesupport/lib/active_support/dependencies.rb:224: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的depend_on中require_dependency' from /Users/rafaelparra/Sites/e2g2/config/../vendor/rails/railties/lib/initializer.rb:393:in /Users/rafaelparra/Sites/e2g2/config/../vendor/rails/railties/lib/initializer.rb:393:in load_application_classes'中的' require_dependency' from /Users/rafaelparra/Sites/e2g2/config/../vendor/rails/railties/lib/initializer.rb:393:in /rails/railties/lib/initializer.rb:392: each' from /Users/rafaelparra/Sites/e2g2/config/../vendor/rails/railties/lib/initializer.rb:392:in load_application_classes'from / Users / rafaelparra / Sites / e2g2 / config /../ vendor / rails / railties / lib / initializer.rb:390:在each' from /Users/rafaelparra/Sites/e2g2/config/../vendor/rails/railties/lib/initializer.rb:390:in load_application_classes'from each' from /Users/rafaelparra/Sites/e2g2/config/../vendor/rails/railties/lib/initializer.rb:390:in process'from process' from /Users/rafaelparra/Sites/e2g2/config/../vendor/rails/railties/lib/initializer.rb:113:in send from / Users / rafaelparra / Sites / e2g 2 / config /../ vendor / rails / railties / lib / initializer.rb:113: run' from /Users/rafaelparra/Sites/e2g2/config/environment.rb:14 from ./test/unit/../test_helper.rb:2:in要求'from ./test/unit/../test_helper.rb:2 from ./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 load' 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 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的`each' .framework / Versions / 1.8 / usr / lib / ruby​​ / gems / 1.8 / gems / rake-0.8.3 / lib / rake / rake_test_loader.rb:5 rake aborted! 命令失败,状态为(1):[/System/Library/Frameworks/Ruby.framework / ...]


您是否重新编译了Snow Leopard的RMagic?

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

链接地址: http://www.djcxy.com/p/38743.html

上一篇: Rake Test is failing

下一篇: How to resolve Rails model namespace collision