Error when using rhc

0

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

to a section that says it has not found rhc, however 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>'
    
asked by anonymous 28.04.2016 / 18:03

1 answer

0

The solution I found was as follows ...

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

and then finally I was able to run the: rhc setup

    
28.04.2016 / 22:47