How to use config.gem for rspec and rspec-rails


#1

Hi,

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
/home/ywen/projects/kod/Rakefile:10
(See full trace by running task with --trace)

Thanks

yi