Openshift Client tool RHC 1.34.2 install fails on RHEL 6.5
Issue
rhc commands are not working after the installation.
[root@example ~]# rhc setup
/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`gem_original_require':
/usr/lib/ruby/gems/1.8/gems/commander-4.3.0/lib/commander/user_interaction.
rb:236: syntax error, unexpected '.', expecting kEND (SyntaxError)
.compact
^
/usr/lib/ruby/gems/1.8/gems/commander-4.3.0/lib/commander/user_interaction.
rb:462: odd number list for Hash
title: @title,
^
/usr/lib/ruby/gems/1.8/gems/commander-4.3.0/lib/commander/user_interaction.
rb:462: syntax error, unexpected ':', expecting '}'
title: @title,
^
/usr/lib/ruby/gems/1.8/gems/commander-4.3.0/lib/commander/user_interaction.
rb:463: syntax error, unexpected ':', expecting '='
percent_complete: percent_complete,
^
/usr/lib/ruby/gems/1.8/gems/commander-4.3.0/lib/commander/user_interaction.
rb:464: syntax error, unexpected ':', expecting '='
progress_bar: progress_bar,
^
/usr/lib/ruby/gems/1.8/gems/commander-4.3.0/lib/commander/user_interaction.
rb:465: syntax error, unexpected ':', expecting '='
step: @step,
^
/usr/lib/ruby/gems/1.8/gems/commander-4.3.0/lib/commander/user_interaction.
rb:466: syntax error, unexpected ':', expecting '='
steps_remaining: steps_remaining,
^
/usr/lib/ruby/gems/1.8/gems/commander-4.3.0/lib/commander/user_interaction.
rb:467: syntax error, unexpected ':', expecting '='
total_steps: @total_steps,
^
/usr/lib/ruby/gems/1.8/gems/commander-4.3.0/lib/commander/user_interaction.
rb:468: syntax error, unexpected ':', expecting '='
time_elapsed: '%0.2fs' % time_elapsed,
^
/usr/lib/ruby/gems/1.8/gems/commander-4.3.0/lib/commander/user_interaction.
rb:468: syntax error, unexpected ',', expecting kEND
/usr/lib/ruby/gems/1.8/gems/commander-4.3.0/lib/commander/user_interaction.
rb:470: syntax error, unexpected '}', expecting kEND
}.merge! @tokens
^
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`require'
from /usr/lib/ruby/gems/1.8/gems/commander-4.3.0/lib/commander.rb:27
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`gem_original_require'
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`require'
from /usr/lib/ruby/gems/1.8/gems/rhc-1.34.2/lib/rhc.rb:30
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`gem_original_require'
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`require'
from /usr/lib/ruby/gems/1.8/gems/rhc-1.34.2/lib/rhc/cli.rb:1
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`gem_original_require'
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`require'
from /usr/lib/ruby/gems/1.8/gems/rhc-1.34.2/bin/rhc:18
from /usr/bin/rhc:19:in `load'
from /usr/bin/rhc:19
Environment
-
Red Hat Enterprise Linux (RHEL) 6.5
-
Openshift Client Tools (rhc) 1.34.2
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.