Error loading Rails fixtures


#1

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:ineach’
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:inrun_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:inregister_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


#2

On Sat, Oct 18, 2008 at 1:55 PM, Scott B. removed_email_address@domain.invalid
wrote:

/path/to/Ruby/Gems/1.8/gems/rspec-1.1.8/lib/spec/runner/options.rb:221: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?

Would you please file a bug report at http://rspec.lighthouseapp.com?