Red Hat Bugzilla – Bug 837464
"warning: already initialized constant TAR_BIN" shows when execute rhc command on Mac OSX
Last modified: 2015-05-14 21:59:38 EDT
Description of problem:
Install latest rhc client, run any rhc command, like rhc domain show,
warning message will show up
/Library/Ruby/Gems/1.8/gems/rhc-0.95.7/lib/rhc/targz.rb:7: warning: already initialized constant TAR_BIN
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.install rhc client
gem install rhc
2.run rhc command
rhc domain show
unexpected warning message "/Library/Ruby/Gems/1.8/gems/rhc-0.95.7/lib/rhc/targz.rb:7: warning: already initialized constant TAR_BIN" appears.
should not have such warning.
it is ok on rhc-0.95.4.
it is ok on Linux and Windows.
The warning message Looks ugly, raise its severity.
Verified on rhc-0.95.11, warning message is gone.