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:in `const_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'' -- Posted via http://www.ruby-forum.com/.
On Wed, Dec 24, 2008 at 9:58 AM, James Byrne <lists at ruby-forum.com> wrote:> 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 problem exists in the Webrat gem up on RubyForge. We''re going to release a new gem in the next few days, in the mean time feel free to grab the source off github.com/brynary/webrat where it is fixed. -- Josh Knowles phone: 509-979-1593 email: joshknowles at gmail.com web: http://joshknowles.com
Josh Knowles wrote:> On Wed, Dec 24, 2008 at 9:58 AM, James Byrne <lists at ruby-forum.com> > wrote: >> 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 problem exists in the Webrat gem up on RubyForge. We''re going to > release a new gem in the next few days, in the mean time feel free to > grab the source off github.com/brynary/webrat where it is fixed. > > > -- > Josh Knowles > phone: 509-979-1593 > email: joshknowles at gmail.com > web: http://joshknowles.comThanks 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 will try this soon. -- Posted via http://www.ruby-forum.com/.
Josh Knowles wrote:> On Wed, Dec 24, 2008 at 9:58 AM, James Byrne <lists at ruby-forum.com> > wrote: >> 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 problem exists in the Webrat gem up on RubyForge. We''re going to > release a new gem in the next few days, in the mean time feel free to > grab the source off github.com/brynary/webrat where it is fixed. > > > -- > Josh Knowles > phone: 509-979-1593 > email: joshknowles at gmail.com > web: http://joshknowles.comThanks 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 Thoughts ? -- Posted via http://www.ruby-forum.com/.
Manasi Vora wrote:> > 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 > > Thoughts ?As shipped, cucmber expects to have rspec and rspec-rails available, either as plugins or as gems. Install both and try again. HTH -- Posted via http://www.ruby-forum.com/.
On Thu, Dec 25, 2008 at 5:42 PM, James Byrne <lists at ruby-forum.com> wrote:> Manasi Vora wrote: > > > > 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 > > > > 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> > HTH > -- > Posted via http://www.ruby-forum.com/. > _______________________________________________ > rspec-users mailing list > rspec-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/rspec-users >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/rspec-users/attachments/20081225/b30275dc/attachment.html>