Error while using rhc

Asked

Viewed 33 times

0

I’m getting an error when I try to use the $ rhc setup, I can not understand why of the mistake, someone can tell me why of the same and how to resolve it kindly?

an excerpt that says it has not found rhc, but it is installed: Successfully installed rhc-1.38.4

rhc setup
/usr/local/lib/site_ruby/1.9.1/rubygems/dependency.rb:318:in`to_specs': Could not find 'rhc' (>= 0.a) among 103 total gem(s)     (Gem::LoadError)
Checked in 'GEM_PATH=/home/dhelbegor/.rvm/gems/ruby-2.2.3:/home/dhelbegor/.rvm/gems/ruby-2.2.3@global', execute `gem env` for more information
from /usr/local/lib/site_ruby/1.9.1/rubygems/dependency.rb:327:in `to_spec'
from /usr/local/lib/site_ruby/1.9.1/rubygems/core_ext/kernel_gem.rb:64:in `gem'
from /usr/local/bin/rhc:22:in `<main>'

1 answer

0


The solution I found was the following....

gem install rubygems-update
pdate_rubygems
gem uninstall rhc
gem install rhc

and then I finally got the : rhc setup

Browser other questions tagged

You are not signed in. Login or sign up in order to post.