Bug 837464

Summary: "warning: already initialized constant TAR_BIN" shows when execute rhc command on Mac OSX
Product: OKD Reporter: Meng Bo <bmeng>
Component: ocAssignee: Fabiano Franz <ffranz>
Status: CLOSED CURRENTRELEASE QA Contact: libra bugs <libra-bugs>
Severity: medium Docs Contact:
Priority: medium    
Version: 2.xCC: rmillner, xtian
Target Milestone: ---Keywords: Regression, Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: rhc-0.95.9-1+ Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-07-13 23:43:24 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Meng Bo 2012-07-04 02:51:51 UTC
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):
rhc-0.95.7

How reproducible:
always

Steps to Reproduce:
1.install rhc client
gem install rhc
2.run rhc command
rhc domain show
3.
  
Actual results:
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.

Expected results:
should not have such warning.

Additional info:
it is ok on rhc-0.95.4.
it is ok on Linux and Windows.

Comment 1 Xiaoli Tian 2012-07-06 10:04:22 UTC
The warning message Looks ugly, raise its severity.

Comment 2 Fabiano Franz 2012-07-09 20:49:38 UTC
Fixed.

Comment 3 Meng Bo 2012-07-10 05:14:06 UTC
Verified on rhc-0.95.11, warning message is gone.