How can I install a local gem?

前端 未结 9 1951
夕颜
夕颜 2020-11-28 00:47

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

9条回答
  •  鱼传尺愫
    2020-11-28 01:18

    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.

提交回复
热议问题