[rspec-users] How to use config.gem for rspec and rspec-rails

Yi Wen hayafirst at gmail.com
Mon Nov 17 18:25:54 EST 2008


Is there anyway I can specify
config.gem rspec :lib => "spec"
config.gem rspec-rails :lib => "spec/rails"

 in my test.rb?

Basically I got this after I specify rspec
rake gems:unpack RAILS_ENV=test
(in /home/ywen/projects/kod)
rake aborted!
uninitialized constant Spec::Rake
(See full trace by running task with --trace)


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/rspec-users/attachments/20081117/5d4dc975/attachment.html>

More information about the rspec-users mailing list