[rspec-users] options:229 error
scott at railsnewbie.com
Tue Jan 6 04:05:34 EST 2009
Ivor Paul wrote:
> Hi Guys
> I am really having incredible issues with this error
> ivor at TheLuggage:~/workspace/talkies$ rake db:migrate
> (in /home/ivor/workspace/talkies)
> `files_to_load': File or directory not found: db:migrate (RuntimeError)
> /usr/lib/ruby/gems/1.8/gems/rspec-1.1.11/lib/spec.rb:21:in `run'
> from /usr/bin/rake:19
> Is there a reliable fix, what is causing the issue and, is anyone else
> getting this? The comments, questions and related posts seem to have
> dried up.
> The problem seems to be very intermittent in my case. I was wondering
> if there is a failsafe solution.
> One thing that strikes me as odd is that we have rspec and rspec-rails
> in vendor/gems yet this error is being thrown in my /usr/lib... gems
> directory. Also, if I gem uninstall rspec I get an error saying that
> spec cannot be found.
> Any pointers would be appreciated.
Here's a pointer: Don't use rails' broken gem system. Use the tried and
true method of putting rspec & rspec on rails in vendor/plugins.
More information about the rspec-users