add rubygems in case gems were not already available locally
In case the web server is behind a proxy, or a tunnel to local machine such as ngrok, the request ip params will always be 127.0.0.1
Merge pull request #1 from vdaubry/master

Check immateriel ip