[rspec-users] Newbie Error Running specs

allan miller allan.m.miller at gmail.com
Thu Dec 7 16:11:30 EST 2006


>>* rspec (0.7.4)    RSpec-0.7.4 (r1201) (rspec gem)
*>*> rspec_on_rails .3 plugin (on vendor/plugin)
*
>What exactly did you mean with "rspec_on_rails .3 plugin"?

>Aslak

You were right, it was a version mismatch between rspec and the
rspec_on_rails plugin I was using.

Once I uninstalled rspec, removed the spec directory, cleared out
plugins and generators under vendor, and
obtained and carried out the following from Keith, it all worked:

>$ sudo gem install rspec
>(Should automatically upgrade to 0.7.4)

>$ cd ${RAILS_APP}
>$ ./script/plugin install --force
svn://rubyforge.org/var/svn/rspec/tags/REL_0_7_4/vendor/rspec_on_rails/vendor/plugins/rspec

>(I think you need the --force switch to overwrite the 0.7.2 plugin with 0.7.4)

Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/rspec-users/attachments/20061207/f8ba6bce/attachment.html 


More information about the rspec-users mailing list