O'Reilly logo

The Cucumber Book, 2nd Edition by Steve Tooke, Aslak Hellesoy, Matt Wynne

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Installing Ruby

Before you can install Cucumber, you need to install Ruby. The code in this book was tested with Ruby 2.3.1, and we recommend you use this version or a more recent one. Each operating system has different ways to install Ruby. This appendix walks you through the most common installation procedures for OS X, Linux, and Windows.

OS X and Linux

First, you are going to need a C compiler such as GCC or Clang installed to build Ruby and gems that use C extensions, including Cucumber. On OS X you will have to install Xcode. Each Mac ships with a DVD that contains Xcode, and it can also be downloaded from http://developer.apple.com/xcode/.

Some Linux distributions come with GCC and/or Clang pre-installed, but many (such as Ubuntu) ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required