puppet broken on ruby version
Here is what happened: I installed puppet 3.8 from this repo https://apt.puppetlabs.com/puppetlabs...
OS: Ubuntu 14.04 Trusty
It was using the standard system version of ruby 1.9
Then I installed ruby2.3 as I need to work with this version for some apps
When I tried to run a puppet module, I got a whole bunch of Evaluation errors. I removed ruby2.3 as I saw its not supported by Puppet 3 or 4. Then I installed ruby2.1. I need at least ruby 2.1 for my app to work and I see this has been tested with Puppet.
However, I keep getting this now
root@server02:~# puppet version /usr/bin/env: ruby2.3: No such file or directory root@server02:~# facter /usr/bin/env: ruby2.3: No such file or directory
So I think I need to somehow change where it is looking for ruby. If not, please advise of solution to this.
UPDATE: I removed everything puppet and ruby related from the system including the files in /usr/local/bin puppet and facter. It seems the installer is not recreating these files. How can I recreate the files?
root@server02:/home/ubuntu# puppet --version bash: /usr/local/bin/puppet: No such file or directory
UPDATE: Reboot fixed the last issue. Brought the files in /usr/local/bin. Anyone know why? I would prefer to understand what happened here. However getting puppet to work with ruby2.1 is still causing pain. I installed it but now its not finding augeas whereas all the correct augeas packages seem to be installed.