| View previous topic :: View next topic |
| Author |
Message |
umamahesh_nyros

Joined: 17 Jul 2007 Posts: 283 Location: Hyderabad
|
Posted: Mon Oct 19, 2009 3:41 pm Post subject: Could not create Makefile due to some reason |
|
|
i am getting below error when i try to install rails in my system.
D:\>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:/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:/ruby/lib/ruby/gems/1.8/gems/fcgi-0.8.7 for
inspection.
Results logged to c:/ruby/lib/ruby/gems/1.8/gems/fcgi-0.8.7/ext/fcgi/gem_make.ou
i have searched in my forums. but no one has given the solution related to rails installation. can any one provide me the solution for my problem.. |
|
| Back to top |
|
 |
jhonynil
Joined: 13 Nov 2007 Posts: 108
|
Posted: Mon Oct 19, 2009 3:43 pm Post subject: |
|
|
Hello Uma,
just update the local systems and then install rails. run the below command to update gems.
D:\>gem update --system |
|
| Back to top |
|
 |
|