【发布时间】:2012-05-03 08:19:53
【问题描述】:
当我输入gem install commander 时,我得到:
Error installing commander:
commander requires highline (~> 1.6.11)
我什至做了gem install highline ("Successfully installed highline-1.6.11"),我得到了同样的错误。此错误的原因可能是什么?
【问题讨论】:
-
您使用的是
bundle和/或rvm?也许您安装了正确的highline版本,但正在加载其他版本。 -
@fguillen:你是个天才。我在
bundle exec bash会话中。退出使其工作。 -
没有,但我很高兴你解决了你的问题 :)
-
@fguillen,你想写一个答案让我接受吗?