Hi all;
I’m getting a weird error from the rspec gem when using rake to load
fixtures in rails:
% rake db:fixtures:load RAILS_ENV=test
/path/to/Ruby/Gems/1.8/gems/rspec-1.1.8/lib/spec/runner/options.rb:
229:in files_to_load': File or directory not found: db:fixtures:load (RuntimeError) from /path/to/Ruby/Gems/1.8/gems/rspec-1.1.8/lib/spec/runner/ options.rb:221:in
each’
from /path/to/Ruby/Gems/1.8/gems/rspec-1.1.8/lib/spec/runner/
options.rb:221:in files_to_load' from /path/to/Ruby/Gems/1.8/gems/rspec-1.1.8/lib/spec/runner/ options.rb:98:in
run_examples’
from /path/to/Ruby/Gems/1.8/gems/rspec-1.1.8/lib/spec.rb:21:in run' from /path/to/Ruby/Gems/1.8/gems/rspec-1.1.8/lib/spec/runner.rb: 192:in
register_at_exit_hook’
from /usr/bin/rake:19
It’s getting something in files_to_load that isn’t a file or
directory. It’s isolated to one project, so it seems configuration-
related.
Anyone know what might be going on here?
Many thanks,
Scott