0

最近の更新後、テストが機能しません。Ruby 2.0.0-p0、レール 4.0.0beta1、mongoid 4.0.0。

/Users/doniv/.rvm/gems/ruby-2.0.0-p0@global/gems/rake-10.0.3/lib/rake/task_manager.rb:49:in `[]': Don't know how to build task 'db:test:load' (RuntimeError)
from /Users/doniv/.rvm/gems/ruby-2.0.0-p0@global/gems/rake-10.0.3/lib/rake/task.rb:321:in `[]'
from /Users/doniv/.rvm/gems/ruby-2.0.0-p0/bundler/gems/rails-f0d5e32f891d/railties/lib/rails/commands/test_runner.rb:103:in `initialize'
from /Users/doniv/.rvm/gems/ruby-2.0.0-p0/bundler/gems/rails-f0d5e32f891d/railties/lib/rails/commands/test_runner.rb:18:in `new'
from /Users/doniv/.rvm/gems/ruby-2.0.0-p0/bundler/gems/rails-f0d5e32f891d/railties/lib/rails/commands/test_runner.rb:18:in `start'
from /Users/doniv/.rvm/gems/ruby-2.0.0-p0/bundler/gems/rails-f0d5e32f891d/railties/lib/rails/commands.rb:90:in `<top (required)>'
from bin/rails:4:in `require'
from bin/rails:4:in `<main>'

何か案が?

ありがとう!

4

1 に答える 1

0

無効:

gem 'rails', '~> 4.0.0.beta', :git => 'git://github.com/rails/rails.git'  
...
gem 'sass-rails',   '~> 4.0.0.beta', :git => 'git://github.com/rails/sass-rails.git'
gem 'coffee-rails', '~> 4.0.0.beta', :git => 'git://github.com/rails/coffee-rails.git'

有効:

gem 'rails', '~> 4.0.0.beta'  
...   
gem 'sass-rails',   '~> 4.0.0.beta'
gem 'coffee-rails', '~> 4.0.0.beta'
于 2013-03-24T20:35:52.173 に答える