Ask Your Question
0

How to change the ruby version for a Puppet version?

asked 2016-03-29 23:21:47 -0600

sheshi gravatar image

updated 2016-03-29 23:42:45 -0600

What is the easiest way to use a different (latest) version of Ruby for a particular Puppet version? I have a latest Ruby (2.3.0) installed on my system using RVM and now I am trying to install Puppet Open Source 3.8.6 using YUM. As part of this install, Ruby version 1.8.7 is getting installed. Is there a way to force Puppet to use the existing Ruby instead of using an older version??

Thanks

-Sheshi

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
0

answered 2016-03-30 11:06:17 -0600

updated 2016-03-30 11:06:45 -0600

If you have a look here you'll note that Ruby 2.3 is not supported for Puppet 3.x. Your best bet is to use your system Ruby (1.8.7). If you must use a later Ruby for some reason, try 2.1.

edit flag offensive delete link more
0

answered 2016-03-30 15:02:25 -0600

YevgenyT gravatar image

If you must have the latest version installed along with the one Puppet require, try to use alternatives to manage them via symlinks.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2016-03-29 23:21:47 -0600

Seen: 535 times

Last updated: Mar 30 '16