# Hpricot install failure on amd64

**URL:** <https://www.ruby-forum.com/t/hpricot-install-failure-on-amd64/146289>\
**Category:** Ruby\
**Created:** [August 19, 2008, 8:13pm UTC](https://www.ruby-forum.com/t/hpricot-install-failure-on-amd64/146289 "2008-08-19T20:13:26Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![davidstokar](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/4da419/32.png) [@davidstokar](https://www.ruby-forum.com/u/davidstokar)\
**Post date:** [August 19, 2008, 8:13pm UTC](https://www.ruby-forum.com/t/hpricot-install-failure-on-amd64/146289/1 "2008-08-19T20:13:26Z")

</div>

I have reported the following to removed\_email\_address@domain.invalid

Has anyone experienced anything similar or am I on my own on this one?

All advice appreciated

Thanks

David

* * *

From: David S. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
To: removed\_email\_address@domain.invalid

Nobuyoshi N. suggests the following problem is due to a rake bug.  
Currently I am unable to install hpricot on a win 64 system. See  
following  
bug report with response from Nobuyoshi N.

Original Bug Report:

Looks like latest version of hpricot is not pathing correctly for  
installation  
on win 64 systems which have both a C:\Program  
Files and C:Program Files (86) directory. On the other hand correct path  
seems  
to be followed to write the  
gem\_make.out file.

> gem install hpricot  
> Building native extensions. This could take a while  
> ERROR: Error installing hpricot  
> ERROR: Failed to build gem native extension.

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

Gen files will remain installed in C:/Program Files  
(x86)/ruby/lib/ruby/gems/  
1.8/gems/hpricot-0.6.161 for inspection.  
Results logged to C:/Program Files  
(x86)/ruby/lib/ruby/gems/1.8/gems/hpricot-  
0.6.161/ext/fast\_xs/gem\_make.out

gem\_make.out:  
C:/Program Files (x86)/ruby/bin/ruby.exe extconf.rb install hpricot  
‘C:/Program’ is not recognized as an internal or external command,  
operable program or batch file.

extconf.rb in same directory:  
require ‘mkmf’  
have\_header(‘stdio.h’) or exit  
dir\_config(‘fast\_xs’)  
create\_makefile(‘fast\_xs’)  
postaddcomment21591 Add A Comment: Notepad

Please login

Submit  
Followup  
Message  
Date: 2008-08-19 07:02  
Sender: Nobuyoshi N.

I wrote “for _1.9_”.  
Rake isn’t bundled with 1.8 and the gem is not my responsibiilty,  
so you have to report the issue to the Rake project.  
Date: 2008-08-19 04:49  
Sender: vizion communications

I am still getting same error. Have tried gem update rake.  
This is not fixed for me - I am currently without hpricot.  
Maybe I have missed something??

Date: 2008-08-18 16:29  
Sender: Nobuyoshi N.

Seems like an issue of rake.  
Fixed in the repository for 1.9.
