Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Cucumber Gem installation problem on Windows!!!
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  4 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Sophia  
View profile  
 More options Jul 20 2012, 3:30 am
From: Sophia <sophia.joac...@gmail.com>
Date: Fri, 20 Jul 2012 00:30:45 -0700 (PDT)
Local: Fri, Jul 20 2012 3:30 am
Subject: Cucumber Gem installation problem on Windows!!!

Hi Team,
I get the following error when i try to install Cucumber gem on my PC.

I have installed Ruby1.8.7. version. I use Windows XP.

C:\Ruby187\bin>gem install cucumber -v 1.2.1
Temporarily enhancing PATH to include DevKit...
Building native extensions. This could take a while...
ERROR: Error installing cucumber:

    ERROR: Failed to build gem native extension.
    C:/Ruby187/bin/ruby.exe extconf.rb

creating Makefile

make
'make' is not recognized as an internal or external command, operable
program or batch file.

Gem files will remain installed in
C:/Ruby187/lib/ruby/gems/1.8/gems/json-1.7.3
for inspection.
Results logged to
C:/Ruby187/lib/ruby/gems/1.8/gems/json-1.7.3/ext/json/ext/pars
er/gem_make.out

Please help me.

Thanks in advance,
Sophia


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
James Cowlishaw  
View profile  
 More options Jul 20 2012, 8:00 am
From: James Cowlishaw <ja...@securstar.com>
Date: Fri, 20 Jul 2012 13:00:04 +0100
Local: Fri, Jul 20 2012 8:00 am
Subject: Re: [RubyInstaller] Cucumber Gem installation problem on Windows!!!

Hi Sophia,

Assuming that your ruby install is from rubyinstaller.org, you will need to
make sure the devkit (compiler toolchain) is installed.

Check your ruby with:
  C:\ruby -v

Mine shows the following, it is the i386-mingw32 that is important
for compatibility with the devkit:
  ruby 1.8.7 (2011-02-18 patchlevel 334) [i386-mingw32]

See  http://rubyinstaller.org/downloads/ and look for the development kit
download.
You can also refer to the wiki page (
https://github.com/oneclick/rubyinstaller/wiki/Development-Kit ) for a
walkthrough.

Once the devkit is installed and working, try installing cucumber gem again:

> D:\>gem install cucumber
> Building native extensions.  This could take a while...
> Fetching: gherkin-2.11.1-x86-mingw32.gem (100%)
> Fetching: builder-3.0.0.gem (100%)
> Fetching: diff-lcs-1.1.3.gem (100%)
> Fetching: cucumber-1.2.1.gem (100%)
> Successfully installed json-1.7.3
> Successfully installed gherkin-2.11.1-x86-mingw32
> Successfully installed builder-3.0.0
> Successfully installed diff-lcs-1.1.3
> Successfully installed cucumber-1.2.1
> 5 gems installed

I hope that gets you back to work.

James.

On 20 July 2012 08:30, Sophia <sophia.joac...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Luis Lavena  
View profile  
 More options Jul 20 2012, 8:31 am
From: Luis Lavena <luislav...@gmail.com>
Date: Fri, 20 Jul 2012 09:31:21 -0300
Local: Fri, Jul 20 2012 8:31 am
Subject: Re: [RubyInstaller] Cucumber Gem installation problem on Windows!!!

On Fri, Jul 20, 2012 at 4:30 AM, Sophia <sophia.joac...@gmail.com> wrote:
> Hi Team,

Hello Sofia,

> I get the following error when i try to install Cucumber gem on my PC.

> I have installed Ruby1.8.7. version. I use Windows XP.

> C:\Ruby187\bin>gem install cucumber -v 1.2.1
> Temporarily enhancing PATH to include DevKit...
> Building native extensions. This could take a while...
> ERROR: Error installing cucumber:

>     ERROR: Failed to build gem native extension.
>     C:/Ruby187/bin/ruby.exe extconf.rb

The error is localized to the json gem, so we will try to install it.

From the error below:

> make
> 'make' is not recognized as an internal or external command, operable
> program or batch file.

It seems Ruby is having problems to find the compiler toolchain (make,
gcc and others)

Can you confirm that you installed DevKit? (following the instructions
from the wiki):

https://github.com/oneclick/rubyinstaller/wiki/Development-Kit

First you need to download it from the RubyInstaller page:
http://rubyinstaller.org/downloads

And then extract to a location without spaces. Then execute:

ruby dk.rb init

follow the instructions on the screen and later:

ruby dk.rb install

That should place the DevKit into Ruby in the right locations.

It seems you already had DevKit installed, but you might have
relocated it or removed (I'm not sure about that, we don't know what
you had before)

So you can force installation of the newer DevKit by doing:

ruby dk.rb install --force

After that, please try to install the json gem:

gem install json

Let us know if that works.
--
Luis Lavena
AREA 17
-
Perfection in design is achieved not when there is nothing more to add,
but rather when there is nothing more to take away.
Antoine de Saint-Exupéry


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Sophia  
View profile  
 More options Jul 24 2012, 6:32 am
From: Sophia <sophia.joac...@gmail.com>
Date: Tue, 24 Jul 2012 03:32:14 -0700 (PDT)
Local: Tues, Jul 24 2012 6:32 am
Subject: Re: Cucumber Gem installation problem on Windows!!!

Hi Luis Lavena,

Thanks for your reply. I had installed DevKit in sone other path. I
installed it in Ruby's bin again and it worked!


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »