Reputation: 96817
When I download something using gem
I'd like to be able to just download the gem, and then choose whether or not I want to install it. I'm asking this because I'd like to install a particular gem on more than one computers ( without installing from the internet on each one ).
Upvotes: 18
Views: 9790
Reputation: 137584
Yes it is. Browse to the package's page on RubyGems.org and follow the download link.
Eg. from https://rubygems.org/gems/pony to https://rubygems.org/downloads/pony-1.4.gem
Upvotes: 3
Reputation: 24000
Most of the gems are hosted on github.com right now, you just have to clone the repo.
Upvotes: 3
Reputation: 146073
So, something like $ gem fetch gosu
... this will leave gosu-0.7.14.gem
in the current directory.
This will work even if you have already installed it.
Upvotes: 22