[rspec-users] problems updating to 0.7.5.1
David Green
justnothing at tiscali.co.uk
Fri Jan 19 07:07:16 EST 2007
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
More information about the rspec-users
mailing list