Hi there, 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: $ rails -v Rails 1.2.2 $ gem -v 0.9.2 $ spec -v RSpec-0.7.5.1 (r1395) - BDD for Ruby http://rspec.rubyforge.org/ $ spec ... <snip> ############################################################################ Your RSpec on Rails plugin is incompatible with your installed RSpec. RSpec : 0.7.5.1 (r1395) RSpec on Rails : r1201 Should the RSpec on Rails version number be up around 1500 and not 1201 ? Is spec using the older plugin ? Keith
Hi there, 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: $ rails -v Rails 1.2.2 $ gem -v 0.9.2 $ spec -v RSpec-0.7.5.1 (r1395) - BDD for Ruby http://rspec.rubyforge.org/ $ spec ... <snip> ############################################################################ Your RSpec on Rails plugin is incompatible with your installed RSpec. RSpec : 0.7.5.1 (r1395) RSpec on Rails : r1201 Should the RSpec on Rails version number be up around 1500 and not 1201 ? Is spec using the older plugin ? Keith
On 2/23/07, Keith McDonnell <keith.mcdonnell at redbrick.dcu.ie> wrote:> Hi there, > > 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: > > $ rails -v > Rails 1.2.2 > > $ gem -v > 0.9.2 > > $ spec -v > RSpec-0.7.5.1 (r1395) - BDD for Ruby > http://rspec.rubyforge.org/ > > $ spec ... > > <snip> > ############################################################################ > Your RSpec on Rails plugin is incompatible with your installed RSpec. > > RSpec : 0.7.5.1 (r1395) > RSpec on Rails : r1201 > > Should the RSpec on Rails version number be up around 1500 and not 1201 > ? Is spec using the older plugin ?http://rspec.rubyforge.org/documentation/rails/install.html You need to update your gem. Spec::Rails is an extension of rspec, but it still depends on rspec and, for the time being, the revision numbers must match.> > Keith > > _______________________________________________ > rspec-users mailing list > rspec-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/rspec-users >
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. Scott
I should note: my problem with upgrading to the lastest subversion external is *only* a problem with running rake spec:autotest, not the regular rake spec''s. I''ll contact the author of that plugin for more... Scott On Feb 23, 2007, at 11:08 AM, Keith McDonnell wrote:> Hi there, > > 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: > > $ rails -v > Rails 1.2.2 > > $ gem -v > 0.9.2 > > $ spec -v > RSpec-0.7.5.1 (r1395) - BDD for Ruby > http://rspec.rubyforge.org/ > > $ spec ... > > <snip> > ###################################################################### > ###### > Your RSpec on Rails plugin is incompatible with your installed RSpec. > > RSpec : 0.7.5.1 (r1395) > RSpec on Rails : r1201 > > Should the RSpec on Rails version number be up around 1500 and not > 1201 > ? Is spec using the older plugin ? > > Keith > > _______________________________________________ > rspec-users mailing list > rspec-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/rspec-users
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 >