On 10/11/07, George Anderson <[EMAIL PROTECTED]> wrote: > Hi, > > I'm using piston to manage rspec and rspec_on_rails in vendor/plugins. > > ---- > ~/work/simplify_md $ piston st vendor/plugins/ > vendor/plugins/rspec > (svn://rubyforge.org/var/svn/rspec/tags/CURRENT/rspec) > vendor/plugins/rspec_on_rails > (svn://rubyforge.org/var/svn/rspec/tags/CURRENT/rspec_on_rails) > ---- > > After I 'piston update'd rspec and rspec_on_rails... > > ---- > ~/work/simplify_md $ piston update vendor/plugins/rspec/ > Processing 'vendor/plugins/rspec/'... > Fetching remote repository's latest revision and UUID > unchanged from revision 2338 > ~/work/simplify_md $ piston update vendor/plugins/rspec_on_rails/ > Processing 'vendor/plugins/rspec_on_rails/'... > Fetching remote repository's latest revision and UUID > unchanged from revision 2338
> ---- > > > ... and try to run a spec, I get the plugin compatibility exception; > > ---- > ~/work/simplify_md $ script/spec > spec/controllers/patients_controller_spec.rb > /Users/george/work/simplify_md/vendor/plugins/rspec_on_rails/lib/spec/rails/version.rb:14: > (RuntimeError) > ############################################################################ > Your RSpec on Rails plugin is incompatible with your installed RSpec. > > RSpec : 1.0.7 (r2332) > RSpec on Rails : r2331 > > Make sure your RSpec on Rails plugin is compatible with your RSpec gem. > See > http://rspec.rubyforge.org/documentation/rails/install.html > for details. > ############################################################################ That is VERY odd. That was a bug in the 1.0.7 release, which is why we released 1.0.8 right on its heels. But that was over a month ago. I see this in CURRENT/rspec/lib/spec/version.rb: MAJOR = 1 MINOR = 0 TINY = 8 ... REV = "$LastChangedRevision: 2338 $".match(/LastChangedRevision: (\d+)/)[1] ... and this in CURRENT/rspec_on_rails/lib/spec/rails/version.rb REV = "$LastChangedRevision: 2338 $".match(/LastChangedRevision: (\d+)/)[1] So they should be aligning just fine. Sounds like something's wrong when you update from piston. Not sure how or why. > ---- > > I do NOT have the RSpec gem installed > ---- > ~/work/simplify_md $ gem list --local |grep rspec > ~/work/simplify_md $ > ---- > > Can anyone show me the error of my ways? > > Thanks, > > > /g > -- > > George Anderson > > BenevolentCode LLC > O: (410) 461-7553 > C: (410) 218-5185 > > [EMAIL PROTECTED] > _______________________________________________ > rspec-users mailing list > [email protected] > http://rubyforge.org/mailman/listinfo/rspec-users > _______________________________________________ rspec-users mailing list [email protected] http://rubyforge.org/mailman/listinfo/rspec-users
