I've been trying to use the ruby19 and rubygems19 packages from amazons yum repo but cant get around this issue:
[root@ip-10-234-225-44 ~]# puppetd --test
/usr/share/rubygems1.9/rubygems/custom_require.rb:36:in `require': cannot load such file -- puppet/application/agent (LoadError)
from /usr/share/rubygems1.9/rubygems/custom_require.rb:36:in `require'
from /usr/sbin/puppetd:3:in `<main>'
The above occurs using the amazon repo puppet install (2.7.23) at time of writing, and the puppetlabs yum repo below is the same ..
[root@ip-10-234-225-44 ~]# puppet agent --test
/usr/share/rubygems1.9/rubygems/custom_require.rb:36:in `require': cannot load such file -- puppet/util/command_line (LoadError)
from /usr/share/rubygems1.9/rubygems/custom_require.rb:36:in `require'
from /usr/bin/puppet:3:in `<main>'
[root@ip-10-234-225-44 ~]# ruby --version
ruby 1.9.3p448 (2013-06-27 revision 41675) [x86_64-linux]
[root@ip-10-234-225-44 ~]# ruby -e 'puts $:'
/usr/local/share/ruby19/site_ruby
/usr/local/lib64/ruby19/site_ruby
/usr/share/ruby/1.9/vendor_ruby
/usr/lib64/ruby/1.9/vendor_ruby
/usr/share/rubygems1.9
/usr/share/ruby/1.9
/usr/lib64/ruby/1.9
Does anyone have any ideas on this?
----------------------------------------------------------------------------------
The information in this email is confidential and may be legally privileged. It is intended solely for the addressee. Access to this email by anyone else is unauthorised. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful.
Policy Expert is a trading name of QMetric Group Limited who is authorised and regulated by the Financial Services Authority. The registered company address of QMetric Group Limited is: 32-38 Dukes Place, London, EC3A 7LP and its company registration number is 07151701.