Hi Josh, I installed puppet-server using yum by installing the rpm from puppetlabs that enables the puppet repo. I then installed rubygems which enabled me to gem install rack and passenger.
I did compile ruby1.9.3 using this method: This installs libyaml 0.1.4 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 I run this as part of the setup 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 # if puppet is not in your RUBYLIB: # $LOAD_PATH.unshift('/opt/puppet/lib') If I were to use 1.9.3, would I have to update this to the correct ruby path for 1.9.3? Is that what you are suggesting will fix this? I dead keen on running ruby 1.9.3 as this is a new implementation so would like to get to that version rather than have to upgrade at a later date Cheers, Oli On Wed, Dec 12, 2012 at 4:02 AM, vioilly <olive...@gmail.com <javascript:>> wrote: > > 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. > > -- > Josh Cooper > Developer, Puppet Labs > -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/zp6Xzi9hUIwJ. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.