пятница, 31 июля 2009 г.

Rails install problem

gem install rails --include-dependencies

Не работает ?

Building native extensions. This could take a while...
ERROR: While executing gem ... (Gem::Installer::ExtensionBuildError)
ERROR: Failed to build gem native extension.

ruby extconf.rb install rails --include-dependencies
checking for fcgiapp.h... no
checking for fastcgi/fcgiapp.h... no
*** 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
--srcdir=.
--curdir
--ruby=c:/Program files/ruby/bin/ruby
--with-fcgi-dir
--without-fcgi-dir
--with-fcgi-include
--without-fcgi-include=${fcgi-dir}/include
--with-fcgi-lib
--without-fcgi-lib=${fcgi-dir}/lib


Gem files will remain installed in c:/Program Files/ruby/lib/ruby/gems/1.8/gems/
fcgi-0.8.7 for inspection.
Results logged to c:/Program Files/ruby/lib/ruby/gems/1.8/gems/fcgi-0.8.7/ext/fc
gi/gem_make.out

Попробуйте обновить gems
gems update --system

Все станет на свои места ;-)

Комментариев нет: