Issue #5492 has been updated by Jon Forums.


I can't replicate with a plain vanilla mingw + msys via cmd.exe...very odd.

C:\Users\Jon\Documents\RubyDev\ruby-git>git co ruby_1_9_3
Switched to branch 'ruby_1_9_3'

C:\Users\Jon\Documents\RubyDev\ruby-git>\DevKit\devkitvars.bat
Adding the DevKit to PATH...

C:\Users\Jon\Documents\RubyDev\ruby-git>sh -c "autoconf"

C:\Users\Jon\Documents\RubyDev\ruby-git>cd build

C:\Users\Jon\Documents\RubyDev\ruby-git\build>sh -c "../configure --enable-shared --disable-install-doc --prefix=C:/Users/Jon/Downloads/temp/ruby193"

C:\Users\Jon\Documents\RubyDev\ruby-git\build>make

C:\Users\Jon\Documents\RubyDev\ruby-git\build>make install
./miniruby.exe -I../lib -I. -I.ext/common  ../tool/rbinstall.rb --make="make"
--dest-dir="" --extout=".ext" --mflags="" --make-flags="" --data-mode=0644
--prog-mode=0755 --installed-list .installed.list --mantype="man"
...

C:\Users\Jon\Downloads\temp\ruby193>tree /f bin
Folder PATH listing
Volume serial number is 00000002 9601:587A
C:\USERS\JON\DOWNLOADS\TEMP\RUBY193\BIN
    erb.bat
    gem.bat
    irb.bat
    msvcrt-ruby191.dll
    rake.bat
    rdoc.bat
    ri.bat
    ruby.exe
    rubyw.exe
    testrb.bat

No subfolders exist

C:\Users\Jon\Downloads\temp\ruby193>set PATH=bin;%PATH%

C:\Users\Jon\Downloads\temp\ruby193>ruby --version
ruby 1.9.3dev (2011-10-11 revision 33457) [i386-mingw32]

C:\Users\Jon\Downloads\temp\ruby193>erb --version
erb.rb [2.1.0 $]

C:\Users\Jon\Downloads\temp\ruby193>gem --version
C:/Users/Jon/Downloads/temp/ruby193/lib/ruby/1.9.1/yaml.rb:56:in `<top (required)>':
It seems your ruby installation is missing psych (for YAML output).
To eliminate this warning, please install libyaml and reinstall your ruby.
1.8.11
----------------------------------------
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