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


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)



This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs