C:\Tools\Vim\vimfiles\bundle\commandT\ruby\command-t>ruby extconf.rb
checking for ruby.h... C:/Users/ydeng/feng/gre/ruby-1.9.3-p545-i386-mingw32/lib/
ruby/1.9.1/mkmf.rb:381:in `try_do': The compiler failed to generate an executabl
e file. (RuntimeError)
You have to install development tools first.
from C:/Users/ydeng/feng/gre/ruby-1.9.3-p545-i386-mingw32/lib/ruby/1.9.1
/mkmf.rb:506:in `try_cpp'
from C:/Users/ydeng/feng/gre/ruby-1.9.3-p545-i386-mingw32/lib/ruby/1.9.1
/mkmf.rb:931:in `block in have_header'
from C:/Users/ydeng/feng/gre/ruby-1.9.3-p545-i386-mingw32/lib/ruby/1.9.1
/mkmf.rb:790:in `block in checking_for'
from C:/Users/ydeng/feng/gre/ruby-1.9.3-p545-i386-mingw32/lib/ruby/1.9.1
/mkmf.rb:284:in `block (2 levels) in postpone'
from C:/Users/ydeng/feng/gre/ruby-1.9.3-p545-i386-mingw32/lib/ruby/1.9.1
/mkmf.rb:254:in `open'
from C:/Users/ydeng/feng/gre/ruby-1.9.3-p545-i386-mingw32/lib/ruby/1.9.1
/mkmf.rb:284:in `block in postpone'
from C:/Users/ydeng/feng/gre/ruby-1.9.3-p545-i386-mingw32/lib/ruby/1.9.1
/mkmf.rb:254:in `open'
from C:/Users/ydeng/feng/gre/ruby-1.9.3-p545-i386-mingw32/lib/ruby/1.9.1
/mkmf.rb:280:in `postpone'
from C:/Users/ydeng/feng/gre/ruby-1.9.3-p545-i386-mingw32/lib/ruby/1.9.1
/mkmf.rb:789:in `checking_for'
from C:/Users/ydeng/feng/gre/ruby-1.9.3-p545-i386-mingw32/lib/ruby/1.9.1
/mkmf.rb:930:in `have_header'
from extconf.rb:33:in `<main>'
C:\Tools\Vim\vimfiles\bundle\commandT\ruby\command-t>set path=C:\Users\ydeng\fen
g\gre\DevKit-tdm-32-4.5.2-20111229-1559-sfx\mingw\bin;%path%
C:\Tools\Vim\vimfiles\bundle\commandT\ruby\command-t>ruby extconf.rb
checking for ruby.h... yes
creating Makefile
C:\Tools\Vim\vimfiles\bundle\commandT\ruby\command-t>
-------------------------------------------------------------------------checking for ruby.h... C:/Users/ydeng/feng/gre/ruby-1.9.3-p545-i386-mingw32/lib/
ruby/1.9.1/mkmf.rb:381:in `try_do': The compiler failed to generate an executabl
e file. (RuntimeError)
You have to install development tools first.
from C:/Users/ydeng/feng/gre/ruby-1.9.3-p545-i386-mingw32/lib/ruby/1.9.1
/mkmf.rb:506:in `try_cpp'
from C:/Users/ydeng/feng/gre/ruby-1.9.3-p545-i386-mingw32/lib/ruby/1.9.1
/mkmf.rb:931:in `block in have_header'
from C:/Users/ydeng/feng/gre/ruby-1.9.3-p545-i386-mingw32/lib/ruby/1.9.1
/mkmf.rb:790:in `block in checking_for'
from C:/Users/ydeng/feng/gre/ruby-1.9.3-p545-i386-mingw32/lib/ruby/1.9.1
/mkmf.rb:284:in `block (2 levels) in postpone'
from C:/Users/ydeng/feng/gre/ruby-1.9.3-p545-i386-mingw32/lib/ruby/1.9.1
/mkmf.rb:254:in `open'
from C:/Users/ydeng/feng/gre/ruby-1.9.3-p545-i386-mingw32/lib/ruby/1.9.1
/mkmf.rb:284:in `block in postpone'
from C:/Users/ydeng/feng/gre/ruby-1.9.3-p545-i386-mingw32/lib/ruby/1.9.1
/mkmf.rb:254:in `open'
from C:/Users/ydeng/feng/gre/ruby-1.9.3-p545-i386-mingw32/lib/ruby/1.9.1
/mkmf.rb:280:in `postpone'
from C:/Users/ydeng/feng/gre/ruby-1.9.3-p545-i386-mingw32/lib/ruby/1.9.1
/mkmf.rb:789:in `checking_for'
from C:/Users/ydeng/feng/gre/ruby-1.9.3-p545-i386-mingw32/lib/ruby/1.9.1
/mkmf.rb:930:in `have_header'
from extconf.rb:33:in `<main>'
C:\Tools\Vim\vimfiles\bundle\commandT\ruby\command-t>set path=C:\Users\ydeng\fen
g\gre\DevKit-tdm-32-4.5.2-20111229-1559-sfx\mingw\bin;%path%
C:\Tools\Vim\vimfiles\bundle\commandT\ruby\command-t>ruby extconf.rb
checking for ruby.h... yes
creating Makefile
C:\Tools\Vim\vimfiles\bundle\commandT\ruby\command-t>
You should be about to see the reason from above set command. The mingw's bin folder needs to be added to the path.
--
Feng