0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Install Cucumber on Mac

Posted at

Problem

Fail to install Cucumber

% sudo gem install cucumber
Building native extensions.  This could take a while...
ERROR:  Error installing cucumber:
	ERROR: Failed to build gem native extension.

        /Users/XXXX/.rbenv/versions/1.9.3-p194/bin/ruby extconf.rb
checking for main() in -lc... *** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers.  Check the mkmf.log file for more
details.  You may need configuration options.

Solution

Install gcc

  1. Download Xcode from App Store
  2. Xcode -> Preferences -> Downloads -> Command Line Tools
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?