How can I install a local gem?

hectorsq picture hectorsq · Oct 21, 2008 · Viewed 327.6k times · Source

If I download a .gem file to a folder in my computer, can I install it later using gem install?

Answer

JasonTrue picture JasonTrue · Nov 13, 2008

Also, you can use gem install --local path_to_gem/filename.gem

This will skip the usual gem repository scan that happens when you leave off --local.

You can find other magic with gem install --help.