rubyrubygemshighline

`highline` gem is already installed, but `commander` refuses to install


When I type gem install commander, I get:

Error installing commander:
commander requires highline (~> 1.6.11)

I even did gem install highline ("Successfully installed highline-1.6.11") and I get the same error. What could be the cause of this error?


Solution

  • Check if you're in the appropiate bundle and/or rvm session context.

    Maybe you have the correct highline version installed in one context but the gem is been loaded from another context.