gem native extension installer failure on winxp pro 64 system

  • Thread starter David Southwell
  • Start date
D

David Southwell

Here is the shell error:
C:\ ..........> gem update
Updating installed gems
Updating fxruby
Successfulyy installed fxruby-1.6.16-x86-mswin32-60
Updating haml
Successfully installed haml-2.0.2
Updating hpricot
Building Native extensions. This could take a while...
ERROR: While executing gem.... (Gem::Installer::ExyensionBuildError)
ERROR: failed to build gem native extension

Path was given to gem.make.out file which reads:

C:/Program Files (x86)/ruby/bin/ruby.exe extconf.rb update
'C:/Program' is not recognized as an internal or external command,
operable program or batch file.

At first glance it seems the update script does not specify path correctly
specified for platform.
 
R

Roger Pack

David said:
Here is the shell error:
C:\ ..........> gem update
Updating installed gems
Updating fxruby
Successfulyy installed fxruby-1.6.16-x86-mswin32-60
Updating haml
Successfully installed haml-2.0.2
Updating hpricot
Building Native extensions. This could take a while...
ERROR: While executing gem.... (Gem::Installer::ExyensionBuildError)
ERROR: failed to build gem native extension

Path was given to gem.make.out file which reads:

C:/Program Files (x86)/ruby/bin/ruby.exe extconf.rb update
'C:/Program' is not recognized as an internal or external command,
operable program or batch file.

At first glance it seems the update script does not specify path
correctly
specified for platform.
--------------------

Does anyone know how to fix this?

David

Looks like with hpricot the latest version doesn't come with a
pre-compiled binary. So avoid that, or install VC6 or mingw + mingw
ruby. Maybe :)
http://www.ruby-forum.com/topic/162401#new
-R
 
D

David Southwell

Looks like with hpricot the latest version doesn't come with a
pre-compiled binary. So avoid that, or install VC6 or mingw + mingw
ruby. Maybe :)
http://www.ruby-forum.com/topic/162401#new
-R

VC6 is installed. This seems to be a pathing error in the install script which
is looking for C:\program rather than C:\program files (86) which is the
appropriate path on win 64. All other gems install fine- this problem only
occurs with hpricot.

David
 
R

Roger Pack

appropriate path on win 64. All other gems install fine- this problem
only
occurs with hpricot.

David

Looks like it might be an hpricot bug then. Either hack out a fix or
post a bug or both, I guess.
GL.
-R
 
E

Eric Hodel

Here is the shell error:
C:\ ..........> gem update
Updating installed gems
Updating fxruby
Successfulyy installed fxruby-1.6.16-x86-mswin32-60
Updating haml
Successfully installed haml-2.0.2
Updating hpricot
Building Native extensions. This could take a while...
ERROR: While executing gem.... (Gem::Installer::ExyensionBuildError)
ERROR: failed to build gem native extension

Path was given to gem.make.out file which reads:

C:/Program Files (x86)/ruby/bin/ruby.exe extconf.rb update
'C:/Program' is not recognized as an internal or external command,
operable program or batch file.

At first glance it seems the update script does not specify path
correctly
specified for platform.

Update RubyGems (and, probably, everything else) to handle paths with
spaces.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,009
Latest member
GidgetGamb

Latest Threads

Top