no such file to load -- object_daddy (MissingSourceFile) when run rake test
Added by Anonymous over 12 years ago
hi, guys
when i run
rake test
or
RAILS_ENV=test script/about
i got a error
no such file to load -- object_daddy (MissingSourceFile)
i check out code from trunk -r 9904
and i have install object-daddy
gem list | grep daddy
edavis10-object_daddy (0.4.3) object-daddy (1.0.1)
and i can run server without error
ruby script/server
=> Booting WEBrick => Rails 2.3.14 application starting on http://0.0.0.0:3000 NOTE: Gem.source_index is deprecated, use Specification. It will be removed on or after 2011-11-01. Gem.source_index called from /home/zhu/.rvm/gems/ruby-1.8.7-p358/gems/rails-2.3.14/lib/rails/gem_dependency.rb:21. => Call with -d to detach => Ctrl-C to shutdown server [2012-04-14 17:25:53] INFO WEBrick 1.3.1 [2012-04-14 17:25:53] INFO ruby 1.8.7 (2012-02-08) [i686-linux] [2012-04-14 17:25:53] INFO WEBrick::HTTPServer#start: pid=6819 port=3000
hope anyone can help me! thanks very much
Replies (3)
RE: no such file to load -- object_daddy (MissingSourceFile) when run rake test - Added by Jean-Philippe Lang over 12 years ago
Make sure you installed the bundle with the test group.
RE: no such file to load -- object_daddy (MissingSourceFile) when run rake test - Added by Anonymous over 12 years ago
I have installed bundle.
and the bundle have difference for test and development?
if yes. how to install it for test group.
RE: no such file to load -- object_daddy (MissingSourceFile) when run rake test - Added by Oleg Kandaurov over 12 years ago
Execute bundle show. Do you see object_daddy gem?
If not you can install it via bundle install