Sarah Allen
2008-Dec-21 04:42 UTC
[rspec-users] newbie: errors getting started with cucumber
Just getting started with Ruby and Rails, I wanted to check out BDD and cucumber seemed like a good place to start. Let me know if this stuff is too new for a newbie and I''ll wander off. I''ve installed the following: sudo gem install cucumber sudo gem install rspec rspec-rails webrat $ rake features (in /Library/WebServer/Documents/todolist) /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `gem_original_require'': no such file to load -- webrat/rspec-rails (MissingSourceFile) Failed to load features/support/env.rb from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require'' from /Library/Ruby/Gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:155:in `require'' from ./features/support/env.rb:12 from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `gem_original_require'' from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require'' from /Users/sarah/.gem/ruby/1.8/gems/cucumber-0.1.13/bin/../lib/cucumber/cli.rb:230:in `require_files'' from /Users/sarah/.gem/ruby/1.8/gems/cucumber-0.1.13/bin/../lib/cucumber/cli.rb:228:in `each'' from /Users/sarah/.gem/ruby/1.8/gems/cucumber-0.1.13/bin/../lib/cucumber/cli.rb:228:in `require_files'' from /Users/sarah/.gem/ruby/1.8/gems/cucumber-0.1.13/bin/../lib/cucumber/cli.rb:152:in `execute!'' from /Users/sarah/.gem/ruby/1.8/gems/cucumber-0.1.13/bin/../lib/cucumber/cli.rb:13:in `execute'' from /Users/sarah/.gem/ruby/1.8/gems/cucumber-0.1.13/bin/cucumber:6 rake aborted! I even tried installing webrat as a plugin which seemed to be a solution proposed in a previous post: script/plugin install git://github.com/brynary/webrat.git but in either case I see the same errors. I''m on Mac OS 10.5.6 if that matters. Thanks in advance, Sarah home: www.ultrasaurus.com code: www.ultrasaurus.com/code -- Posted via http://www.ruby-forum.com/.
Mischa Fierer
2008-Dec-21 05:09 UTC
[rspec-users] newbie: errors getting started with cucumber
Try pasting this into config/environments/test.rb #config/environments/test.rb #config.gem ''rspec-rails'', :source => "http://gems.github.com", :lib => ''spec/rails'' #config.gem ''cucumber'', :version => ''0.1.12'', :source => " http://gems.github.com" config.gem ''webrat'' , :source => "http://gems.github.com" #config.gem ''nokogiri'' , :source => "http://gems.github.com" Example cucumber apps here: http://github.com/bmabey/email-spec/tree/master/spec/rails_root And here: http://github.com/qrush/cucumber_seeds/tree/master On Sat, Dec 20, 2008 at 8:42 PM, Sarah Allen <lists at ruby-forum.com> wrote:> Just getting started with Ruby and Rails, I wanted to check out BDD and > cucumber seemed like a good place to start. Let me know if this stuff > is too new for a newbie and I''ll wander off. > > I''ve installed the following: > sudo gem install cucumber > sudo gem install rspec rspec-rails webrat > > $ rake features > (in /Library/WebServer/Documents/todolist) > /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in > `gem_original_require'': no such file to load -- webrat/rspec-rails > (MissingSourceFile) > Failed to load features/support/env.rb from > /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require'' > from > > /Library/Ruby/Gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:155:in > `require'' > from ./features/support/env.rb:12 > from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in > `gem_original_require'' > from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require'' > from > > /Users/sarah/.gem/ruby/1.8/gems/cucumber-0.1.13/bin/../lib/cucumber/cli.rb:230:in > `require_files'' > from > > /Users/sarah/.gem/ruby/1.8/gems/cucumber-0.1.13/bin/../lib/cucumber/cli.rb:228:in > `each'' > from > > /Users/sarah/.gem/ruby/1.8/gems/cucumber-0.1.13/bin/../lib/cucumber/cli.rb:228:in > `require_files'' > from > > /Users/sarah/.gem/ruby/1.8/gems/cucumber-0.1.13/bin/../lib/cucumber/cli.rb:152:in > `execute!'' > from > > /Users/sarah/.gem/ruby/1.8/gems/cucumber-0.1.13/bin/../lib/cucumber/cli.rb:13:in > `execute'' > from /Users/sarah/.gem/ruby/1.8/gems/cucumber-0.1.13/bin/cucumber:6 > rake aborted! > > I even tried installing webrat as a plugin which seemed to be a solution > proposed in a previous post: > script/plugin install git://github.com/brynary/webrat.git > > but in either case I see the same errors. > > I''m on Mac OS 10.5.6 if that matters. > > Thanks in advance, > > Sarah > home: www.ultrasaurus.com > code: www.ultrasaurus.com/code > -- > 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/20081220/43afbd47/attachment.html>
Sarah Allen
2008-Dec-21 05:11 UTC
[rspec-users] newbie: errors getting started with cucumber
More poking around and I found this page: http://github.com/aslakhellesoy/cucumber/wikis/ruby-on-rails never mind. -- Posted via http://www.ruby-forum.com/.
Manasi Vora
2008-Dec-25 13:04 UTC
[rspec-users] newbie: errors getting started with cucumber
Sarah Allen wrote:> More poking around and I found this page: > http://github.com/aslakhellesoy/cucumber/wikis/ruby-on-rails > > never mind.Hi Sarah, I am a newbie as well and followed the wiki page but continue to get the error - no such file to load -- webrat/rspec-rails (MissingSourceFile) I am using webrat 0.3.2 cucumber 0.1.13 activerecord 2.1.1 Thoughts ? -- Posted via http://www.ruby-forum.com/.
aslak hellesoy
2008-Dec-25 18:59 UTC
[rspec-users] newbie: errors getting started with cucumber
On Thu, Dec 25, 2008 at 2:04 PM, Manasi Vora <lists at ruby-forum.com> wrote:> Sarah Allen wrote: > > More poking around and I found this page: > > http://github.com/aslakhellesoy/cucumber/wikis/ruby-on-rails > > > > never mind. > > Hi Sarah, > I am a newbie as well and followed the wiki page but continue to get the > error - > no such file to load -- webrat/rspec-rails (MissingSourceFile) > > I am using webrat 0.3.2 cucumber 0.1.13 activerecord 2.1.1 >You need a newer webrat - for example gem install aslakhellesoy-webrat Aslak> > Thoughts ? > -- > 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/b3eb2eb8/attachment.html>
Manasi Vora
2008-Dec-31 06:48 UTC
[rspec-users] newbie: errors getting started with cucumber
Aslak Helles?y wrote:> On Thu, Dec 25, 2008 at 2:04 PM, Manasi Vora <lists at ruby-forum.com> > wrote: > >> >> I am using webrat 0.3.2 cucumber 0.1.13 activerecord 2.1.1 >> > > You need a newer webrat - for example gem install aslakhellesoy-webrat > > AslakHi Aslak, I tried the command but I get the following error ->gem install aslakhellesoy-webratERROR: could not find gem aslakhellesoy-webrat locally or in a repository Do I need to make some configuration changes for finding the gem ? More info on my setup - Windows Vista home edition , webrat 0.3.2, cucumber 0.1.13, activerecord 2.1.1, rspec - 1.1.11, rspec-rails 1.1.11, nokogiri 1.0.7, hoe 1.8.2 Thanks for your help ! -- Posted via http://www.ruby-forum.com/.
Mischa Fierer
2008-Dec-31 06:55 UTC
[rspec-users] newbie: errors getting started with cucumber
try this b4 trying to install Aslak''s webrat: gem sources -a http://gems.github.com On Tue, Dec 30, 2008 at 10:48 PM, Manasi Vora <lists at ruby-forum.com> wrote:> Aslak Helles?y wrote: > > On Thu, Dec 25, 2008 at 2:04 PM, Manasi Vora <lists at ruby-forum.com> > > wrote: > > > >> > >> I am using webrat 0.3.2 cucumber 0.1.13 activerecord 2.1.1 > >> > > > > You need a newer webrat - for example gem install aslakhellesoy-webrat > > > > Aslak > > > Hi Aslak, > > I tried the command but I get the following error - > > >gem install aslakhellesoy-webrat > ERROR: could not find gem aslakhellesoy-webrat locally or in a > repository > > Do I need to make some configuration changes for finding the gem ? > > More info on my setup - > > Windows Vista home edition , webrat 0.3.2, cucumber 0.1.13, activerecord > 2.1.1, rspec - 1.1.11, rspec-rails 1.1.11, nokogiri 1.0.7, hoe 1.8.2 > > Thanks for your help ! > -- > 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/20081230/51487d97/attachment-0001.html>
Manasi Vora
2008-Dec-31 07:25 UTC
[rspec-users] newbie: errors getting started with cucumber
Mischa Fierer wrote:> try this b4 trying to install Aslak''s webrat: > > gem sources -a http://gems.github.comThanks .. I was able to complete the setup on my Windows XP machine. rake features is failing now ! So I can continue with writing the steps. -- Posted via http://www.ruby-forum.com/.
Fernando Perez
2009-Jan-16 22:19 UTC
[rspec-users] newbie: errors getting started with cucumber
Aslak Helles?y wrote:> On Thu, Dec 25, 2008 at 2:04 PM, Manasi Vora <lists at ruby-forum.com> > wrote: > >> >> I am using webrat 0.3.2 cucumber 0.1.13 activerecord 2.1.1 >> > > You need a newer webrat - for example gem install aslakhellesoy-webrat > > AslakThanks that help me out. It installed 0.3.2.2 which works, whereas "sudo gem install webrat" installed 0.3.4 which yields the error message "no such file to load -- webrat/rspec-rails" -- Posted via http://www.ruby-forum.com/.
Nick Hoffman
2009-Jan-17 04:46 UTC
[rspec-users] newbie: errors getting started with cucumber
On 2009-01-16, at 17:19, Fernando Perez wrote:> Aslak Helles?y wrote: >> On Thu, Dec 25, 2008 at 2:04 PM, Manasi Vora <lists at ruby-forum.com> >> wrote: >> >>> >>> I am using webrat 0.3.2 cucumber 0.1.13 activerecord 2.1.1 >>> >> >> You need a newer webrat - for example gem install aslakhellesoy- >> webrat >> >> Aslak > > Thanks that help me out. It installed 0.3.2.2 which works, whereas > "sudo > gem install webrat" installed 0.3.4 which yields the error message "no > such file to load -- webrat/rspec-rails"Hi Fernando. For an answer, check out the thread titled "Which webrat gem should be used?" which I started on January 15th. Cheers, Nick