[rspec-users] Error loading Rails fixtures

Scott Burton scottburton11 at gmail.com
Sat Oct 18 14:55:02 EDT 2008

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
229:in `files_to_load': File or directory not found: db:fixtures:load  
	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- 

Anyone know what might be going on here?

Many thanks,

More information about the rspec-users mailing list