Forum: RSpec How to use config.gem for rspec and rspec-rails

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Yi W. (Guest)
on 2008-11-18 01:27
(Received via mailing list)

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 topic is locked and can not be replied to.