пятница, 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:
--ruby=c:/Program files/ruby/bin/ruby

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

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

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