Can't install cmake - Couldn't create custom gem extension
I am trying to install gems cmake
and rugged
. My Ruby is 193 and my DevKit is installed accordingly to this version. I changed the system PATH
and installed DevKit.
Now I am trying to run gem install cmake
and I am getting the error:
> gem install cmake
Temporarily enhancing PATH to include DevKit...
Building native extensions. This could take a while...
ERROR: Error installing cmake:
ERROR: Failed to build gem native extension.
C:/Ruby193/bin/ruby.exe extconf.rb
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers. Check the mkmf.log file for more
details. You may need configuration options.
Provided configuration options:
--with-opt-dir
--without-opt-dir
--with-opt-include
--without-opt-include=${opt-dir}/include
--with-opt-lib
--without-opt-lib=${opt-dir}/lib
--with-make-prog
--without-make-prog
--srcdir=.
--curdir
--ruby=C:/Ruby193/bin/ruby
extconf.rb:5:in `chdir': No such file or directory - C:/Ruby193/lib/ruby/gems/1.9.1/gems/
OENT)
from extconf.rb:5:in `<main>'
Gem files will remain installed in C:/Ruby193/lib/ruby/gems/1.9.1/gems/cmake-2.8.7 for in
Results logged to C:/Ruby193/lib/ruby/gems/1.9.1/gems/cmake-2.8.7/ext/cmake/gem_make.out
I don't know what to do, I used new Ruby before and the problem was the same. What can I do?
+3
source to share