How did you install rubygems ? 

If you did not use an RPM, that could be the problem 


“Sometimes I think the surest sign that intelligent life exists elsewhere in 
the universe is that none of it has tried to contact us.” 
Bill Waterson (Calvin & Hobbes) 

----- Original Message -----
From: "Stuart Cracraft" <[email protected]> 
To: [email protected] 
Cc: [email protected] 
Sent: Friday, August 16, 2013 8:30:18 AM 
Subject: [Puppet Users] Fwd: open source puppet client not installing 








Trouble installing the client with 

yum install puppet 


Getting an error with a dependency by rubygem-json on rubygems. 

Forbidden when trying to do a general rubygems update. 




gem list shows rake (10.1.0) and rubygems-update (2.0.6) as installed but 

gem update --system gives the above forbidden error. Proxy is open for 

this box for: 



*. puppetlabs.com 

gems.rubyforge.org 

*. rubygems.org 



have tried http_proxy and HTTP_PROXY set to both the proxy's ip with 8080 

"some-ip:8080" and as http://some-ip:8080 

curl -x proxyserverip:8080 http://puppetlabs.com and 

curl -x proxyserverip:8080 

Stuart 


Log: 



[root@ca-sna-bb01 rubygems-2.0.6]# yum install puppet 

Loaded plugins: product-id, rhnplugin, security, subscription-manager 

This system is not registered to Red Hat Subscription Management. You can use 
subscription-manager to register. 

This system is receiving updates from RHN Classic or RHN Satellite. 

Setting up Install Process 

Resolving Dependencies 

--> Running transaction check 

---> Package puppet.noarch 0:3.2.4-1.el6 will be installed 

--> Processing Dependency: facter >= 1.6.11 for package: 
puppet-3.2.4-1.el6.noarch 

--> Processing Dependency: hiera >= 1.0.0 for package: 
puppet-3.2.4-1.el6.noarch 

--> Processing Dependency: ruby(selinux) for package: puppet-3.2.4-1.el6.noarch 

--> Running transaction check 

---> Package facter.i386 1:1.7.2-1.el6 will be installed 

---> Package hiera.noarch 0:1.2.1-1.el6 will be installed 

--> Processing Dependency: rubygem-json for package: hiera-1.2.1-1.el6.noarch 

---> Package libselinux-ruby.x86_64 0:2.0.94-5.3.el6_4.1 will be installed 

--> Running transaction check 

---> Package rubygem-json.x86_64 0:1.5.5-1.el6 will be installed 

--> Processing Dependency: rubygems for package: 
rubygem-json-1.5.5-1.el6.x86_64 

--> Finished Dependency Resolution 

Error: Package: rubygem-json-1.5.5-1.el6.x86_64 (puppetlabs-deps) 

Requires: rubygems 

You could try using --skip-broken to work around the problem 

You could try running: rpm -Va --nofiles --nodigest 

[root@ca-sna-bb01 rubygems-2.0.6]# gem update --system 

ERROR: While executing gem ... (Net::HTTPServerException) 

403 "Forbidden" 

[root@ca-sna-bb01 rubygems-2.0.6]# echo $http_proxy 

http://some-ip-here(1.2.3.4,etc.):8080 

[root@ca-sna-bb01 rubygems-2.0.6]# echo $HTTP_PROXY 



[root@ca-sna-bb01 rubygems-2.0.6]# ruby setup.rb 

RubyGems 2.0.6 installed 

Installing ri documentation for rubygems-2.0.6 

/usr/lib/ruby/1.8/rdoc/rdoc.rb:280: warning: conflicting chdir during another 
chdir block 

/usr/lib/ruby/1.8/rdoc/rdoc.rb:287: warning: conflicting chdir during another 
chdir block 

: 

: 

: 

------------------------------------------------------------------------------ 



RubyGems installed the following executables: 

/usr/bin/gem 



Ruby Interactive (ri) documentation was installed. ri is kind of like man 

pages for ruby libraries. You may access it like this: 

ri Classname 

ri Classname.class_method 

ri Classname#instance_method 

If you do not wish to install this documentation in the future, use the 

--no-document flag, or set it as the default in your ~/.gemrc file. See 

'gem help env' for details. 



[root@ca-sna-bb01 rubygems-2.0.6]# 







-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group. 
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected]. 
To post to this group, send email to [email protected]. 
Visit this group at http://groups.google.com/group/puppet-users . 
For more options, visit https://groups.google.com/groups/opt_out . 

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-users.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to