Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
是否可以通过 NetBeans 安装我在 NetBeans 中创建的 RubyGem 而无需将其上传到 RubyForge?
从这里:
gem install将安装命名的 gem。它将尝试进行本地安装(即当前目录中的 .gem 文件),如果失败,它将尝试下载并安装您想要的最新版本的 gem。
gem install
因此,您应该能够使用 .gem 文件从目录中运行 gem。
看起来目前没有办法做到这一点。只需按照正常方式从命令行安装您的 gem。