This is how I understood it. Hope this works for you too.
- Fill in the proxy server in the proxy server settings (depends on your system).
- Once you're done with the proxy settings, just do it (assuming the Linux system)
sudo -i gem install GEM_NAME
Please note that the authorizationi.e username and password must be filled in the proxy settings for the system.
If you are not a root user or want to install the gem locally (if using RVM), do not use sudo then.
Jatin ganhotra
source share