I get this when hitting the puppet server using https://puppetserver:8140
If I use ruby 1.8, everything works. This is a new deployment so I would like to use ruby 1.9.3 rather than the older version of ruby.
It appears to me that this is a PATH issue. Does anyone know how to fix this?
Cheers,
Oli
cd /opt wget http://pyyaml.org/download/libyaml/yaml-0.1.4.tar.gz tar xzvf yaml-0.1.4.tar.gz cd yaml-0.1.4 ./configure --prefix=/usr/local make make install
This installs ruby 1.9.3.0d
cd /opt wget http://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p0.tar.gz tar xzvf ruby-1.9.3-p0.tar.gz cd ruby-1.9.3-p0 ./configure --enable-shared --disable-pthread make make install
cp /usr/share/puppet/ext/rack/files/config.ru /etc/puppet/rack/Currently I am using ruby 1.8.7 which works fine but in the config.ru i see this
> I have installed puppet 3.0.1,
Installed as a gem or native package?
> It appears to me that this is a PATH issue. Does anyone know how to fix
> this?
In your puppet config.ru, can you verify that puppet's lib directory
is in the $LOAD_PATH? Also note the line at the top of that file.
As far as why it works on 1.8.7, but not 1.9.3, makes me think that
puppet is installed as a gem, and that there are rubygem differences
between the two rubies.