If you are getting errors on Debian while trying to install the fcig ruby bindings, then I may have the solution for you (well it isn’t my solution, I got it from here).
The error might look something like this:
ERROR: Failed to build gem native extension.
Do the following to get everything to work:
> tar -zxvf fcgi-2.4.0.tar.gz
> make install
> gem install fcgi
The errors should be gone and if you do a ‘gem list –local’, fcgi should be in the list of gems installed.