Bugs: Browse | Submit New | Admin

[#20541] windows gem install fails on paths with spaces

Date:
2008-06-06 03:03
Priority:
3
Submitted By:
Nobody
Assigned To:
Nobody (None)
Category:
None
State:
Open
Summary:
windows gem install fails on paths with spaces

Detailed description
when installing the twitter4r gem on a Windows system in which the path to ruby contains spaces (e.g. C:\Program Files\ruby),
the install fails with an error like so:


ERROR:  Error installing twitter4r:                                             
        ERROR: Failed to build gem native extension.                            
                                                                                
c:/Program Files/ruby-186/bin/ruby.exe extconf.rb install twitter4r             
'c:/Program' is not recognized as an internal or external command,              
operable program or batch file.                                                 

Add A Comment: Notepad

Please login


Followup

Message
Date: 2009-04-26 18:50
Sender: Justin Basinger

Try putting quotes around your executable call.

i.e. "c:/Program Files/ruby-186/bin/ruby.exe" extconf.rb
install twitter4r

I installed it using the command "gem install twitter4r"
just fine.

Attached Files:

Name Description Download
No Files Currently Attached

Changes:

No Changes Have Been Made to This Item