[Rubygems-developers] [ rubygems-Bugs-28385 ] gems with mkrf_conf.rb extensions fail to build when installed into a ruby in a directory name that includes spaces

noreply at rubyforge.org noreply at rubyforge.org
Sat Nov 13 11:53:58 EST 2010


Bugs item #28385, was opened at 2010-07-14 17:40
You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=575&aid=28385&group_id=126

Category: `gem install` command
Group: None
>Status: Open
Resolution: Rejected
Priority: 3
Submitted By: Roger Pack (rogerdpack)
Assigned to: Nobody (None)
Summary: gems with mkrf_conf.rb extensions fail to build when installed into a ruby in a directory name that includes spaces

Initial Comment:

C:\installs\a space\ruby_1_9_2_installed\bin>gem install rdp-rb-readline
Building native extensions.  This could take a while...
ERROR:  Error installing rdp-rb-readline:
        ERROR: Failed to build gem native extension.

"C:/installs/a space/ruby_1_9_2_installed/bin/ruby.exe" mkrf_conf.rb

"C:/installs/a space/ruby_1_9_2_installed/bin/ruby.exe" -rubygems C:/installs/a space/ruby_1_9_2_installed/lib/ruby/gems/1.9.1/gems/rake-0.8.7/bin/rake RUBYARCHDIR="C:/installs/a space/ruby_1_9_2_installed/lib/ruby/gems/1.9.1/gems/rdp-rb-readline-0.2.0.1/lib" RUBYLIBDIR="C:/installs/a space/ruby_1_9_2_installed/lib/ruby/gems/1.9.1/gems/rdp-rb-readline-0.2.0.1/lib"
C:/installs/a space/ruby_1_9_2_installed/bin/ruby.exe: No such file or directory -- C:/installs/a (LoadError)


Gem files will remain installed in C:/installs/a space/ruby_1_9_2_installed/lib/ruby/gems/1.9.1/gems/rdp-rb-readline-0.2.0.1 for inspection.
Results logged to C:/installs/a space/ruby_1_9_2_installed/lib/ruby/gems/1.9.1/gems/rdp-rb-readline-0.2.0.1/ext/gem_make.out

----------------------------------------------------------------------

>Comment By: Roger Pack (rogerdpack)
Date: 2010-11-13 16:53

Message:
This is still a problem.
How to reproduce: install ruby into a dir with space, install 
spork. Fails (spork installs fine elsewhere).  Rubygems 
should be quoting the path.

----------------------------------------------------------------------

Comment By: Ryan Davis (zenspider)
Date: 2010-11-13 04:12

Message:
What does this have to do with rubygems?

----------------------------------------------------------------------

You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=575&aid=28385&group_id=126


More information about the Rubygems-developers mailing list