I have a server which is not allowed to access the web. I downloaded and
installed ruby on it. Now I would like to install some of the ruby gems
gem install gem_name does not work obviously because it can’t reach the
web. I just don’t know where to find the gems to download them, and
them from a local repository.
I have a server behind a firewall that won’t allow me to access the web
to download gems either. What I do is go to ruby gems
(http://rubygems.org), find the gem I want using another computer, then
copy that over to the server. Then from the terminal I simply use:
The only downfall I have found is when there are dependencies on other
gems, then I have to go download those and install them first.
This will work for me even if I need to go crazy with dependencies.
On Mon, Jun 10, 2013 at 4:29 PM, Ruby S.
User Bundler and it’s package command: