small medium large xlarge

31 Jan 2012, 18:26
Ralph Shnelvar (4 posts)

On my machine, cucumber.exe and/or cucumber.bat is not installed when doing a bundle install.

To run cucumber I need to do a bundle exec cucumber

Should this be the case? Should the book’s instructions on how to install change?

01 Feb 2012, 11:31
Matt Wynne (92 posts)

Hi Ralph. Thanks for the feedback.

What do you think we need to change about the installation instructions to reflect this? Did you follow them yourself or did you already have a working Ruby installation?

01 Feb 2012, 19:20
Ralph Shnelvar (4 posts)

I had a working ruby installation.

So I added the last two gems to the gemfile

source ''

gem 'mysql'
gem 'dbi'
gem 'dbd-sqlite3'

# To use debugger

group :development, :test do
  gem 'ruby-debug19', :require => 'ruby-debug'

  # Pretty printed test output
  gem 'turn', :require => false

  gem 'cucumber', '1.1.3'
  gem 'rspec-expectations', '2.7.0'

I then ran bundle install

05 Feb 2012, 11:24
Aslak Hellesøy (17 posts)

Try bundle update. If you still don’t get a cucumber executable I suppose you have either found a bug in rubygems or bundler, or perhaps you are using an outdated version of one of them.

If you add the rack gem, do you get a rackup executable?

You must be logged in to comment