Indeed. the line in question is 'require 'puppet/util/command_line''. This 
file gets installed into 

/usr/lib/ruby/site_ruby/1.8/puppet/util/command_line
/usr/lib/ruby/site_ruby/1.8/puppet/util/command_line.rb

so it's not found. I've scrubbed out all traces of ruby from this system 
and when I reinstall 'puppet-server' it brings down both ruby 1.8 and 2.0. 
The 'command_line.rb' file is put in 1.8 but the interpreter runs with 2.0.

On Thursday, November 13, 2014 11:00:01 AM UTC-8, JonY wrote:
>
> Installed latest from puppetlabs repro on an EC2 instance.
>
> Started working through steps from 
> https://docs.puppetlabs.com/guides/install_puppet/post_install.html
>
> # puppet master --verbose --no-daemonize
> /usr/share/ruby/vendor_ruby/2.0/rubygems/core_ext/kernel_require.rb:55:in 
> `require': cannot load such file -- puppet/util/command_line (LoadError)
>         from 
> /usr/share/ruby/vendor_ruby/2.0/rubygems/core_ext/kernel_require.rb:55:in 
> `require'
>         from /usr/bin/puppet:7:in `<main>'
>
> What step(s) did I miss?
>
> ---
> I'm wondering if this is the problem:
>
> # ruby --version
> ruby 2.0.0p594 (2014-10-27 revision 48167) [x86_64-linux]
>
> This is the version that AWS installed by default.
>
>
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/e971abbf-f448-4748-b34d-bd9e97ab5ac3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to