puppet 3.3.2 with ruby 2.1.0

634 views
Skip to first unread message

Stuart Cracraft

unread,
Dec 27, 2013, 4:42:45 PM12/27/13
to puppet...@googlegroups.com

Has anyone else seen this? ruby is 2.1.0 and puppet is 3.3.2.

  # /etc/init.d/puppetmaster start

  Starting  

puppetmaster: /usr/local/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require': cannot load such file -- puppet/util/command_line (LoadError)

      from /usr/local/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require'

      from /usr/bin/puppet:3:in `<main>'

 FAILED

 #


I rolled back to the earlier version of ruby which handily works.

Jeffrey Watts

unread,
Dec 27, 2013, 5:14:55 PM12/27/13
to puppet...@googlegroups.com
Stuart, by doing a simple Google search I show from the release notes that Puppet 3.2 added Ruby 2.0 support, but I see no mention of the addition of Ruby 2.1 support.

My guess is that it's not been added.
Jeffrey.


--
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 puppet-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/af8cd42d-c0af-42f9-90db-14b60620279d%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Stuart Cracraft

unread,
Dec 27, 2013, 5:59:48 PM12/27/13
to puppet...@googlegroups.com, wa...@jayhawks.net
Tried ruby 2.0.0 but same:

# /etc/init.d/puppetmaster start

Starting puppetmaster: /usr/local/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:53:in `require': cannot load such file -- pupp\

et/util/command_line (LoadError)

        from /usr/local/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:53:in `require'

        from /usr/bin/puppet:3:in `<main>'

FAILED

#


As Robert Burns said:

  “O, wad some Power the giftie gie us
  To see oursels as others see us!
  It wad frae monie a blunder free us,
  An' foolish notion.”

Matthaus Owens

unread,
Dec 27, 2013, 6:03:04 PM12/27/13
to Puppet Users, wa...@jayhawks.net
Stuart,
How have you installed puppet? Have you installed it for each ruby
you're trying 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 puppet-users...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/puppet-users/ef45e361-9e64-4a87-b3f2-725162ab7e85%40googlegroups.com.
>
> For more options, visit https://groups.google.com/groups/opt_out.



--
Matthaus Owens
Release Manager, Puppet Labs

Join us at PuppetConf 2014, September 23-24 in San Francisco

Stuart Cracraft

unread,
Dec 27, 2013, 6:12:49 PM12/27/13
to puppet...@googlegroups.com, wa...@jayhawks.net
Normal - via PL repo yum install.

I haven't reinstalled Puppet master and Puppet client for each Ruby upgrade/downgrade.

Matthaus Owens

unread,
Dec 27, 2013, 6:34:18 PM12/27/13
to Puppet Users, wa...@jayhawks.net
Stuart,
The rpms will install puppet into the load path of the system ruby for
your platform. If you've installed a different ruby, then that new
ruby won't be able to load libraries from your system ruby load path.
For custom ruby use, the 3 main options are install from source,
install from a gem, or roll your own native package with the correct
pathing for the updated ruby's load path.
> https://groups.google.com/d/msgid/puppet-users/6e983dbb-fc50-441a-9770-dcbc44f74d17%40googlegroups.com.

Stuart Cracraft

unread,
Dec 27, 2013, 7:12:07 PM12/27/13
to puppet...@googlegroups.com
Cool.
> You received this message because you are subscribed to a topic in the Google Groups "Puppet Users" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/topic/puppet-users/nJQzPsnFqZ0/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to puppet-users...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/CACD%3DwAekqzVZJVk8VmhFq75KsrNs%2Bm2y%3DJ_8HaxV4Fg1Hy1hOQ%40mail.gmail.com.
Reply all
Reply to author
Forward
0 new messages