Thanks Eric. I followed your instructions but got some errors. I
probably got something wrong. Please take a look.
I am trying to install the Cucumber Gem on my home PC off-line
before I attempt the install at work. After downloading all the
necessary files, I disconnected the Ethernet cable from my PC, to
simulate an off-line installation.
Attached is a play-by-play of my attempted install, error
messages included. The first part is setting up Ruby on Windows 7.
You can skip down to “Cucumber download & install”.
Installing Cucumber generated 130 lines of output with 3
RuntimeErrors. I don't know enough about Gems to make sense of the
Error messages. Please help me figure out the error messages.
Support Staff4 Posted by Luis Lavena on 04 Sep, 2011 12:39 PM
Your problem seems to be very particular.
> gem install -f --local *.gem
Successfully installed builder-3.0.0
Temporarily enhancing PATH to include DevKit...
Building native extensions. This could take a while...
ERROR: Error installing cucumber-0.10.7.gem:
ERROR: Failed to build gem native extension.
checking for re.h... *** 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.
Indicate it was unable to compile one of the extensions cucumber
As indicated in the results, please send us
mkmf.log contents so we can see why it failed.
You can find the file here:
Most of the time, it is associated with some weird environment
issues documented here:
OK, now I understand that "install DevKit" is the same as
"extract DevKit file into directory".
My DevKit directory is D:\wolf\Software\cucumber\DevKit
My Ruby directory is C:\Ruby192
Should Ruby and DevKit be on the same partition?