Just a heads up. I updated my nokogiri gem to 1.1.0 yesterday and could
not run rake features thereafter. I had to drop back to 1.0.7. I have
reported this problem on the project page at rubyforge.
This is what I see:
/usr/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:442:in load_missing_constant': uninitialized constant Nokogiri::CSS::XML (NameError) from /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:77:inconst_missing’
from
/usr/lib/ruby/gems/1.8/gems/nokogiri-1.1.0/lib/nokogiri/css/selector_handler.rb:3
from
/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`gem_original_require’
Just a heads up. I updated my nokogiri gem to 1.1.0 yesterday and could
not run rake features thereafter. I had to drop back to 1.0.7. I have
reported this problem on the project page at rubyforge.
Just a heads up. I updated my nokogiri gem to 1.1.0 yesterday and could
not run rake features thereafter. I had to drop back to 1.0.7. I have
reported this problem on the project page at rubyforge.
Thanks for the information. I am a newbie to the ruby on rails world. I
started with Cucumber and BDD. I have been struggling with initial setup
of cucumber and getting a sample feature running due to multiple errors
on my way.
Just a heads up. I updated my nokogiri gem to 1.1.0 yesterday and could
not run rake features thereafter. I had to drop back to 1.0.7. I have
reported this problem on the project page at rubyforge.
Thanks for the information. I am a newbie to the ruby on rails world. I
started with Cucumber and BDD. I have been struggling with initial setup
of cucumber and getting a sample feature running due to multiple errors
on my way.
I tried this but I get the following error now -
C:\ruby_on_rails\sample>rake features
(in C:/ruby_on_rails/sample)
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in gem_original_re quire': no such file to load -- webrat/rspec-rails (MissingSourceFile) Failed to load features/support/env.rb from c:/ruby/lib/ruby/site_ruby/1.8/ruby gems/custom_require.rb:31:in require’
I have nokogiri 1.0.7 and webrat 0.3.2 with cucumber 0.1.12
I tried this but I get the following error now -
C:\ruby_on_rails\sample>rake features
(in C:/ruby_on_rails/sample)
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in gem_original_re quire': no such file to load -- webrat/rspec-rails (MissingSourceFile) Failed to load features/support/env.rb from c:/ruby/lib/ruby/site_ruby/1.8/ruby gems/custom_require.rb:31:inrequire’
I have nokogiri 1.0.7 and webrat 0.3.2 with cucumber 0.1.12
Thoughts ?
As shipped, cucmber expects to have rspec and rspec-rails available,
either as plugins or as gems. Install both and try again.
I have nokogiri 1.0.7 and webrat 0.3.2 with cucumber 0.1.12
Thoughts ?
As shipped, cucmber expects to have rspec and rspec-rails available,
either as plugins or as gems. Install both and try again.
Cucumber is decoupled from RSpec and does not depend on it. However, the
default setup when Cucumber is used with Rails is to use Webrat and
RSpec,
but you can change this.
Aslak
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.