【发布时间】:2021-03-30 01:35:51
【问题描述】:
当我运行 gem search -l -d 时,我的列表中包含了 io-console
io-console (0.4.5)
Author: Nobu Nakada
Homepage: http://www.ruby-lang.org
License: BSD-2-Clause
Installed at (default): /Library/Ruby/Gems/2.3.0
Console interface
但是,当我运行ls -la /Library/Ruby/Gems/2.3.0 时,该目录或其中的 /gems 目录中不存在名为 io-console 的文件夹或文件。这颗宝石在哪里?
【问题讨论】:
-
如果我手动安装它
gem install io-console它会显示在那里。我还能够确定它是作为我的 pry 依赖项安装的 -
在我安装任何东西之前,它就出现在了我的 gem 列表中(这是在新安装的操作系统上,没有以前的用户数据)