我读了一个答案gem fetch
,这个问题的答案is-it-possible-to-download-a-ruby-gem-without-installing-it-automatically。但是 windows 我并不总是得到 windows gem。
使用gem install gosu --remote
安装windows版本Successfully installed gosu-0.7.15-x86-mswin32-60
。
使用下载时,gem fetch gosu
我得到Downloaded gosu-0.7.15
的是 linux 版本,无法安装在我的 windows PC 上。
询问具有gem fetch gosu-0.7.15-x86-mswin32-60
类似尝试的特定宝石会产生ERROR: Could not find gosu-0.7.15-x86-mswin32-60 in any repository
关于在使用 fetch 与 install 时如何为我的 PC 获取正确版本的任何想法?