If you’re getting this error when installing fcgi:
Installing fcgi 0.9.2.1 with native extensions
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
you need to actually install FastCGI first. (`gem install fcgi` just installs the ruby bindings)
Normally, `brew install fcgi` would be ok, but it looks like the fcgi library has been taken down. Instead, download the source and built it yourself:
Download link: https://www.dropbox.com/s/hlg5vv1rb90suid/fcgi-2.4.0.tar.gz?dl=0
Then run:
tar xzvf fcgi-2.4.0.tar.gz
cd fcgi-2.4.0
./configure –prefix=/usr/local
sudo make
sudo make install
Great, now that fcgi is installed, go install the actual gem (via `bundle install` or otherwise)
Post a Comment