Hi all I''ve upgraded the rails plugin from 0.7.5 to 0.7.5.1 (plugin/remove rspec_on_rails followed by : ruby script/plugin install svn://rubyforge.org/var/svn/rspec/tags/REL_0_7_5_1/rspec_on_rails/vendor/plugins/rspec_on_rails I''ve also updated the rspec gem and removed the older version. I''m running rubygems 0.9.1 on a windows box however, when I try to run a spec (which was running fine under the old setup) I get the error message below. here are the steps I took to update: - ruby scipt/plugin/remove rspec_on_rails - ruby script/plugin install svn://rubyforge.org/var/svn/rspec/tags/REL_0_7_5_1/rspec_on_rails/vendor/plugins/rspec_on_rails - ruby script/generate rspec (Y to over-write) - gem update rspec - gem uninstall rspec -v 0.7.5 - manually downloaded and installed rubygems 0.9.1. as per the instructions in this thread: http://groups.google.com/group/rubyonrails-talk/browse_thread/thread/d7bc67cb9c7372d3/cb9af3d48cd63863 needless to say I''m a little stumped now and would appreciate some help thanks david error message: M:\devel\wd\phoss>drbspec spec/models/photo_spec.rb (druby://localhost:8989) M:/devel/wd/phoss/vendor/plugins/rspec_on_rails/lib/spe c/rails/version.rb:14: (RuntimeError) ############################################################################ Your RSpec on Rails plugin is incompatible with your installed RSpec. RSpec : 0.7.5.1 (r1395) RSpec on Rails : r1394 Make sure your RSpec on Rails plugin is compatible with your RSpec gem. See http://rspec.rubyforge.org/documentation/rails/install.html for details. ############################################################################ from (druby://localhost:8989) c:/ruby/lib/ruby/site_ruby/1.8/rubygems/cu stom_require.rb:27:in `gem_original_require'' from (druby://localhost:8989) c:/ruby/lib/ruby/site_ruby/1.8/rubygems/cu stom_require.rb:27:in `require'' from (druby://localhost:8989) c:/ruby/lib/ruby/gems/1.8/gems/activesuppo rt-1.3.1/lib/active_support/dependencies.rb:147:in `require'' from (druby://localhost:8989) M:/devel/wd/phoss/config/../vendor/plugins /rspec_on_rails/lib/spec/rails.rb:15 from (druby://localhost:8989) c:/ruby/lib/ruby/site_ruby/1.8/rubygems/cu stom_require.rb:27:in `gem_original_require'' from (druby://localhost:8989) c:/ruby/lib/ruby/site_ruby/1.8/rubygems/cu stom_require.rb:27:in `require'' from (druby://localhost:8989) c:/ruby/lib/ruby/gems/1.8/gems/activesuppo rt-1.3.1/lib/active_support/dependencies.rb:147:in `require'' from (druby://localhost:8989) ./spec/models/../spec_helper.rb:5 ... 10 levels... from c:/ruby/lib/ruby/gems/1.8/gems/rspec-0.7.5.1/lib/spec/runner/drb_co mmand_line.rb:13:in `run'' from c:/ruby/lib/ruby/gems/1.8/gems/rspec-0.7.5.1/bin/drbspec:3 from c:/ruby/bin/drbspec:16:in `load'' from c:/ruby/bin/drbspec:16
Working on this now. I''ll follow up shortly.... On 1/19/07, David Green <justnothing at tiscali.co.uk> wrote:> Hi all > > I''ve upgraded the rails plugin from 0.7.5 to 0.7.5.1 (plugin/remove > rspec_on_rails followed by : > ruby script/plugin install > svn://rubyforge.org/var/svn/rspec/tags/REL_0_7_5_1/rspec_on_rails/vendor/plugins/rspec_on_rails > I''ve also updated the rspec gem and removed the older version. I''m running > rubygems 0.9.1 on a windows box > > however, when I try to run a spec (which was running fine under the old > setup) I get the error message below. > > here are the steps I took to update: > > - ruby scipt/plugin/remove rspec_on_rails > - ruby script/plugin install > svn://rubyforge.org/var/svn/rspec/tags/REL_0_7_5_1/rspec_on_rails/vendor/plugins/rspec_on_rails > - ruby script/generate rspec (Y to over-write) > > - gem update rspec > - gem uninstall rspec -v 0.7.5 > > - manually downloaded and installed rubygems 0.9.1. as per the instructions > in this thread: > http://groups.google.com/group/rubyonrails-talk/browse_thread/thread/d7bc67cb9c7372d3/cb9af3d48cd63863 > > needless to say I''m a little stumped now and would appreciate some help > thanks > > david > > error message: > > M:\devel\wd\phoss>drbspec spec/models/photo_spec.rb > (druby://localhost:8989) > M:/devel/wd/phoss/vendor/plugins/rspec_on_rails/lib/spe > c/rails/version.rb:14: (RuntimeError) > ############################################################################ > Your RSpec on Rails plugin is incompatible with your installed RSpec. > > RSpec : 0.7.5.1 (r1395) > RSpec on Rails : r1394 > > Make sure your RSpec on Rails plugin is compatible with your RSpec gem. > See http://rspec.rubyforge.org/documentation/rails/install.html for details. > ############################################################################ > from (druby://localhost:8989) > c:/ruby/lib/ruby/site_ruby/1.8/rubygems/cu > stom_require.rb:27:in `gem_original_require'' > from (druby://localhost:8989) > c:/ruby/lib/ruby/site_ruby/1.8/rubygems/cu > stom_require.rb:27:in `require'' > from (druby://localhost:8989) > c:/ruby/lib/ruby/gems/1.8/gems/activesuppo > rt-1.3.1/lib/active_support/dependencies.rb:147:in `require'' > from (druby://localhost:8989) > M:/devel/wd/phoss/config/../vendor/plugins > /rspec_on_rails/lib/spec/rails.rb:15 > from (druby://localhost:8989) > c:/ruby/lib/ruby/site_ruby/1.8/rubygems/cu > stom_require.rb:27:in `gem_original_require'' > from (druby://localhost:8989) > c:/ruby/lib/ruby/site_ruby/1.8/rubygems/cu > stom_require.rb:27:in `require'' > from (druby://localhost:8989) > c:/ruby/lib/ruby/gems/1.8/gems/activesuppo > rt-1.3.1/lib/active_support/dependencies.rb:147:in `require'' > from (druby://localhost:8989) ./spec/models/../spec_helper.rb:5 > ... 10 levels... > from > c:/ruby/lib/ruby/gems/1.8/gems/rspec-0.7.5.1/lib/spec/runner/drb_co > mmand_line.rb:13:in `run'' > from c:/ruby/lib/ruby/gems/1.8/gems/rspec-0.7.5.1/bin/drbspec:3 > from c:/ruby/bin/drbspec:16:in `load'' > from c:/ruby/bin/drbspec:16 > > _______________________________________________ > rspec-users mailing list > rspec-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/rspec-users >
OK. This is fixed now. For those who are interested.... I''m not quite sure how it happened, but when I did the release the gem and and the tag ended up w/ different revision numbers. We''ve got code in the plugin that enforces a rule that the rspec and rspec_on_rails revision numbers must match. I went ahead and hard-coded the revision number in the plugin to match that of the gem. All should be working correctly now. Thanks for your patience. Cheers, David On 1/19/07, David Chelimsky <dchelimsky at gmail.com> wrote:> Working on this now. I''ll follow up shortly.... > > On 1/19/07, David Green <justnothing at tiscali.co.uk> wrote: > > Hi all > > > > I''ve upgraded the rails plugin from 0.7.5 to 0.7.5.1 (plugin/remove > > rspec_on_rails followed by : > > ruby script/plugin install > > svn://rubyforge.org/var/svn/rspec/tags/REL_0_7_5_1/rspec_on_rails/vendor/plugins/rspec_on_rails > > I''ve also updated the rspec gem and removed the older version. I''m running > > rubygems 0.9.1 on a windows box > > > > however, when I try to run a spec (which was running fine under the old > > setup) I get the error message below. > > > > here are the steps I took to update: > > > > - ruby scipt/plugin/remove rspec_on_rails > > - ruby script/plugin install > > svn://rubyforge.org/var/svn/rspec/tags/REL_0_7_5_1/rspec_on_rails/vendor/plugins/rspec_on_rails > > - ruby script/generate rspec (Y to over-write) > > > > - gem update rspec > > - gem uninstall rspec -v 0.7.5 > > > > - manually downloaded and installed rubygems 0.9.1. as per the instructions > > in this thread: > > http://groups.google.com/group/rubyonrails-talk/browse_thread/thread/d7bc67cb9c7372d3/cb9af3d48cd63863 > > > > needless to say I''m a little stumped now and would appreciate some help > > thanks > > > > david > > > > error message: > > > > M:\devel\wd\phoss>drbspec spec/models/photo_spec.rb > > (druby://localhost:8989) > > M:/devel/wd/phoss/vendor/plugins/rspec_on_rails/lib/spe > > c/rails/version.rb:14: (RuntimeError) > > ############################################################################ > > Your RSpec on Rails plugin is incompatible with your installed RSpec. > > > > RSpec : 0.7.5.1 (r1395) > > RSpec on Rails : r1394 > > > > Make sure your RSpec on Rails plugin is compatible with your RSpec gem. > > See http://rspec.rubyforge.org/documentation/rails/install.html for details. > > ############################################################################ > > from (druby://localhost:8989) > > c:/ruby/lib/ruby/site_ruby/1.8/rubygems/cu > > stom_require.rb:27:in `gem_original_require'' > > from (druby://localhost:8989) > > c:/ruby/lib/ruby/site_ruby/1.8/rubygems/cu > > stom_require.rb:27:in `require'' > > from (druby://localhost:8989) > > c:/ruby/lib/ruby/gems/1.8/gems/activesuppo > > rt-1.3.1/lib/active_support/dependencies.rb:147:in `require'' > > from (druby://localhost:8989) > > M:/devel/wd/phoss/config/../vendor/plugins > > /rspec_on_rails/lib/spec/rails.rb:15 > > from (druby://localhost:8989) > > c:/ruby/lib/ruby/site_ruby/1.8/rubygems/cu > > stom_require.rb:27:in `gem_original_require'' > > from (druby://localhost:8989) > > c:/ruby/lib/ruby/site_ruby/1.8/rubygems/cu > > stom_require.rb:27:in `require'' > > from (druby://localhost:8989) > > c:/ruby/lib/ruby/gems/1.8/gems/activesuppo > > rt-1.3.1/lib/active_support/dependencies.rb:147:in `require'' > > from (druby://localhost:8989) ./spec/models/../spec_helper.rb:5 > > ... 10 levels... > > from > > c:/ruby/lib/ruby/gems/1.8/gems/rspec-0.7.5.1/lib/spec/runner/drb_co > > mmand_line.rb:13:in `run'' > > from c:/ruby/lib/ruby/gems/1.8/gems/rspec-0.7.5.1/bin/drbspec:3 > > from c:/ruby/bin/drbspec:16:in `load'' > > from c:/ruby/bin/drbspec:16 > > > > _______________________________________________ > > rspec-users mailing list > > rspec-users at rubyforge.org > > http://rubyforge.org/mailman/listinfo/rspec-users > > >