rubyforge seems to have picked up the rspec release, but not the
rspec-rails
release – the web interface (at least) still says that the most recent
rspec-rails is 1.2.7.1
rubyforge seems to have picked up the rspec release, but not the rspec-rails
release – the web interface (at least) still says that the most recent
rspec-rails is 1.2.7.1
rubyforge seems to have picked up the rspec release, but not the rspec-rails
release – the web interface (at least) still says that the most recent
rspec-rails is 1.2.7.1
The gems repository is right, though. Running “gem outdated” tells me
that both rspec and rspec-rails are at 1.2.9.
Except for an RDoc error of “Could not find main page README.rdoc,”
both installed fine.
Any suggestion for why I’d get the following exception when trying to
run spec_server on windows with rspec 1.3.1? This is my first time
trying to get this working so I can’t say that it worked with 1.2.9.
(druby://127.0.0.1:8989)
C:/InstantRailsAS4/rails_apps/cidr/spec/spec_helper.rb:
19: undefined method use_transactional_fixtures=' for #<Spec::Runner::Configura tion:0xe12b854> (NoMethodError) from (druby://127.0.0.1:8989) C:/InstantRailsAS4/ruby/lib/ruby/gems/1.8/ gems/rspec-1.2.9/lib/spec/runner.rb:41:inconfigure’
from (druby://127.0.0.1:8989)
C:/InstantRailsAS4/rails_apps/cidr/spec/sp
ec_helper.rb:15
from (druby://127.0.0.1:8989)
C:/InstantRailsAS4/ruby/lib/ruby/gems/1.8/
gems/activesupport-2.3.3/lib/active_support/dependencies.rb:145:in load_without _new_constant_marking' from (druby://127.0.0.1:8989) C:/InstantRailsAS4/ruby/lib/ruby/gems/1.8/ gems/activesupport-2.3.3/lib/active_support/dependencies.rb:145:inload’
from (druby://127.0.0.1:8989)
C:/InstantRailsAS4/ruby/lib/ruby/gems/1.8/
gems/activesupport-2.3.3/lib/active_support/dependencies.rb:521:in new_constant s_in' from (druby://127.0.0.1:8989) C:/InstantRailsAS4/ruby/lib/ruby/gems/1.8/ gems/activesupport-2.3.3/lib/active_support/dependencies.rb:145:inload’
from (druby://127.0.0.1:8989) script/spec_server:97:in run' from C:/InstantRailsAS4/ruby/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec /runner/drb_command_line.rb:17:inrun’
from
C:/InstantRailsAS4/ruby/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec
/runner/option_parser.rb:199:in parse_drb' from C:/InstantRailsAS4/ruby/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec /runner/option_parser.rb:130:inorder!’
from
C:/InstantRailsAS4/ruby/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec
/runner.rb:51:in options' from C:/InstantRailsAS4/ruby/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec /runner/command_line.rb:6:inrun’
from
C:/InstantRailsAS4/ruby/lib/ruby/gems/1.8/gems/rspec-1.2.9/bin/spec
:5
Same problem when using version rspec-rails 1.2.9 and rspec 1.2.9. I
uninstalled both gems, reinstalled rspec-rails letting it pull in the
version of rspec it depends on. I re-ran ‘ruby script/generate rspec’
and let it replace all the files. I copied spec_server from http://github.com/dchelimsky/spec_server.
spec spec runs all the specs successfully.
autospec without the --drb option runs all specs successfully
autospec with -drb option fails with “undefined method
`use_transactional_fixtures=’” exception.
Any suggestions for what to causes exception: undefined method
`use_transactional_fixtures=’
when running on windows with:
rspec (1.2.9)
rspec-rails (1.2.9)
ruby script/spec_server
autospec with --drb option
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.