![]() | Following along with Chap.2 'First Taste' |
|
05 Dec 2011, 01:53
Don Fox (4 posts) |
While following the scenario on my machine events go along as expected until I get to load calc.rb with content in section 2.8. At this point when I run cucumber I get no change from the previous run? calc.rb is in the calculator dir. c-98-240-69-159:calculator donfox1$ cucumber
Failing Scenarios: 1 scenario (1 failed) In the previous step I get an error about “undefined method ‘should’ “ cucumber
Failing Scenarios: 1 scenario (1 failed) |
|
05 Dec 2011, 10:46
Matt Wynne (83 posts) |
Hi Don, You’re getting this problem because you don’t have the RSpec gem installed. Did you follow the installation instructions in the appendix? Particularly ‘A3.4 Installing Cucumber (and RSpec)’ ? |
|
05 Dec 2011, 16:51
Don Fox (4 posts) |
Matt The e-book I’m using doesn’t have these instructions. Appendix 3 contains one sentence “This book refers to several 3rd party tools. They are all listed in this appendix”, but nothing else! Maybe I have an old version of the e-book? |
|
05 Dec 2011, 17:27
Matt Wynne (83 posts) |
Hi Don. The last beta (B9.0) released on 11th November should have the full installation appendix in it, I believe. |
|
06 Dec 2011, 00:03
Don Fox (4 posts) |
Matt I got the last beta e-book and installed RVM. I have the latest version of Xcode (4.2.1) installed with cc and gcc. ERROR: There has been an error while running configure. Halting the installation. [2011-12-05 18:51:04] ./configure—prefix=/Users/donfox1/.rvm/rubies/ruby-1.9.3-p0—enable-shared—disable-install-doc—with-libyaml-dir=/Users/donfox1/.rvm/usr Any suggestions? |
|
06 Dec 2011, 00:34
Matt Wynne (83 posts) |
Hi Don, This is pretty well outside my area of expertise, but does this help? https://discussions.apple.com/thread/2132536?st… Please let me know if it does and I’ll try to add something in the text. |
|
11 Dec 2012, 17:22
Neal M (1 post) |
I was having trouble following the instructions on installing Bundler. But to move forward, I typed: gem install rspec And then re-run “cucumber—format progress” it worked for me. Neal |
| You must be logged in to comment |

