Skip to content
This repository has been archived by the owner on Aug 29, 2018. It is now read-only.

rhc setup error: `block in activate_dependencies': can't satisfy 'highline (~> 1.6.11)', already activated 'highline-1.7.1' (Gem::LoadError) #684

Open
songgaoxian opened this issue Apr 5, 2015 · 3 comments

Comments

@songgaoxian
Copy link

The error message is as follows:
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/specification.rb:1206:in block in activate_dependencies': can't satisfy 'highline (~> 1.6.11)', already activated 'highline-1.7.1' (Gem::LoadError) from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/specification.rb:1198:ineach'
from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/specification.rb:1198:in activate_dependencies' from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/specification.rb:1180:inactivate'
from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_gem.rb:48:in gem' from /usr/bin/rhc:22:in

'

I installed rbenv from git and it seems that rhc setup use the system ruby. How to fix this error? I tried the method: gem install rubygems-update; rbenv rehash; update_rubygems; but it does not work for me. For rbenv rehash, the terminal shows "no such command"; for update_rubygems, it also shows "no such command". I don't know how to install shim or what shim is. As a new user of OSX, can anyone help me or give me some instructions?

@glesage
Copy link

glesage commented Apr 20, 2015

Also getting this issue... unfortunately its also on a system where I cannot uninstall gems so attempting something like this http://stackoverflow.com/questions/19344049/block-in-activate-dependencies-cant-satisfy-windows-pr-1-2-1-already is not possible /:

I tried running this after also installing 1.7.2 but no luck.. same error /:

@truth3
Copy link

truth3 commented Apr 25, 2015

Hey guys, run an update on commander and this should resolve your troubles

@vinipsmaker
Copy link

It's a duplicate from issue #673

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants