Issue #5492 has been updated by Nobuyoshi Nakada.


Thnk you for figuring out.

Heesob Park wrote:
> If you specify configure prefix as "/", the line #444 of tool/rbinstall.rb produce incorrect result
> cmd = File.join(File.dirname(cmd), RbConfig.expand(trans[File.basename(cmd)]))
> input -> "//bin/erb"
> output -> "//bin/erb/"

The input is already wrong, as is a UNC path on Windows.
Can't you try with "--prefix=/."?

----------------------------------------
Bug #5492: MinGW Installation with Ruby 1.9.3rc1 Broken
http://redmine.ruby-lang.org/issues/5492

Author: Charlie Savage
Status: Open
Priority: High
Assignee: 
Category: build
Target version: 1.9.3
ruby -v: ruby 1.9.3dev (2011-10-11 revision 33457)


This is a regression since at least the preview release, not sure about the rc1 release.  Using MinGW to make and then make install Ruby on Windows 7 now creates the following bin directory:

bin
  erb
     .bat
  gem
     .bat

etc.

Notice the file should be "erb.bat", not a "erb" sudirectory with a file called ".bat" in it.  The same is true for:

erb
gem
irb
rake
rdoc
ri
testrb

This obviously breaks the installation...so marking it high priority.


-- 
http://redmine.ruby-lang.org