[rspec-users] rspec on rails 0 7 5 1

David Chelimsky dchelimsky at gmail.com
Fri Feb 23 17:44:08 EST 2007


On 2/23/07, Scott Taylor <mailing_lists at railsnewbie.com> wrote:
>
> On Feb 23, 2007, at 11:08 AM, Keith McDonnell wrote:
>
> >
> >
> > I can't upgrade rspec on rails to 0.7.5.1. I followed the install
> > guide
> > on the website without sucsess. Here's my env info:
>
>
> I'm having a similar problem.  I've upgraded the gem, installed
> rspec, rspec_autotest, and rspec_on_rails as externals in my rails
> vendor/plugins directory.  I've also run ./script/generate rspec.
> Here is my message:
>
> ########################################################################
> ####
> Your RSpec on Rails plugin is incompatible with your installed RSpec.
>
> RSpec          : 0.7.5.1 (r1395)
> RSpec on Rails : r1522
>
> Make sure your RSpec on Rails plugin is compatible with your RSpec gem.
> See http://rspec.rubyforge.org/documentation/rails/install.html for
> details.
> ########################################################################
> ####
>
>
> The svn::externals update:
>
> euclid% svn update
>
> Fetching external item into 'vendor/rails'
> External at revision 6216.
>
>
> Fetching external item into 'vendor/plugins/rav'
> External at revision 30.
>
>
> Fetching external item into 'vendor/plugins/acts_as_authenticated'
> External at revision 2757.
>
>
> Fetching external item into 'vendor/plugins/rspec'
> External at revision 1522.
>
>
> Fetching external item into 'vendor/plugins/rspec_on_rails'
> External at revision 1522.
>
>
> Fetching external item into 'vendor/plugins/rspec_autotest'
> External at revision 69.
>
> At revision 42.

If you want to use the spec command as opposed to the rake tasks, then
the plugin revision must match the gem revision. In this case it looks
like (I might be wrong) you have the 0.7.5.1 gem, but the trunk
plugin.

Two options (there may be more):

1. Build and install the gem from your vendor/plugins/rspec directory
(you'll have to do this every time you update rspec - I realize that
is LAME and we'll come w/ a better solution sooner or later)

2. Use the rake tasks and not the spec command. I don't know anything
about rspec_autotest - can you get it to use the rake tasks or does it
only use the installed spec command?

Please let us know if this helps.

Thanks,
David

>
>
> Scott
> _______________________________________________
> rspec-users mailing list
> rspec-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-users
>


More information about the rspec-users mailing list