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.
当我输入gem install commander时,我得到:
gem install commander
Error installing commander: commander requires highline (~> 1.6.11)
我什至做了gem install highline(“成功安装了highline-1.6.11”),我得到了同样的错误。此错误的原因可能是什么?
gem install highline
检查您是否在适当的bundle和/或rvm会话上下文中。
bundle
rvm
也许您highline在一个上下文中安装了正确的版本,但 gem 是从另一个上下文加载的。
highline