Is it possible to download a Ruby gem without installing it automatically?

前端 未结 3 2096
旧巷少年郎
旧巷少年郎 2021-02-07 06:15

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\'

3条回答
  •  梦毁少年i
    2021-02-07 06:44

    gem fetch

    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.

提交回复
热议问题