Okay, so now I am running into more problems. I installed the new puppet rpm without any issues, but when I try to run it I get the following errors:
--
# puppet agent -t
/usr/lib64/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require': no such file to load -- semver (LoadError)
from /usr/lib64/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:31:in `require'
from /usr/lib64/ruby/site_ruby/1.8/puppet/module.rb:2
from /usr/lib64/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
from /usr/lib64/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:31:in `require'
from /usr/lib64/ruby/site_ruby/1.8/puppet/parser/files.rb:1
from /usr/lib64/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
from /usr/lib64/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:31:in `require'
from /usr/lib64/ruby/site_ruby/1.8/puppet/parser/templatewrapper.rb:3
from /usr/lib64/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
from /usr/lib64/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:31:in `require'
from /usr/lib64/ruby/site_ruby/1.8/puppet/parser/scope.rb:6
from /usr/lib64/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
from /usr/lib64/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:31:in `require'
from /usr/lib64/ruby/site_ruby/1.8/puppet/parser/functions.rb:2
from /usr/lib64/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
from /usr/lib64/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:31:in `require'
from /usr/lib64/ruby/site_ruby/1.8/puppet/parser/parser_support.rb:8
from /usr/lib64/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
from /usr/lib64/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:31:in `require'
from grammar.ra:796
from /usr/lib64/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
from /usr/lib64/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:31:in `require'
from /usr/lib64/ruby/site_ruby/1.8/puppet/parser.rb:1
from /usr/lib64/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
from /usr/lib64/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:31:in `require'
from /usr/lib64/ruby/site_ruby/1.8/puppet.rb:148
from /usr/lib64/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
from /usr/lib64/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:31:in `require'
from /usr/lib64/ruby/site_ruby/1.8/puppet/util/command_line.rb:12
from /usr/bin/puppet:3:in `require'
from /usr/bin/puppet:3
--
Here are the ruby versions and I do have 1.8.7 installed which is needed for puppet 3.x versions:
--
# rpm -qa | grep -i ruby
ruby-devel-1.8.7.p72-5.21
rubygems-1.3.1-2.10
ruby-doc-ri-1.8.7.p72-5.21
ruby-shadow-1.4.1-2.2
rubygem-rake-0.8.3-1.20
ruby-1.8.7.p72-5.21
--
I don't have rubygem-json installed so thought I would build it and run into this issue:
--
# rpmbuild -bb rubygem-json.spec
error: Failed build dependencies:
rubygem(rake) is needed by rubygem-json-1.4.6-1.x86_64
--
However, rubygem(rake) is installed:
rubygem-rake-0.8.3-1.20
Any help would be greatly appreciated.
Thanks,
-J