title: How to permanently add the new installation Puppet directory to the ruby LOAD_PATH on RHEL7?
body: <p>The puppet installation was successful but the command </p>
  
  <pre><code>sudo puppet apply /etc/puppet/manifests/site.pp
  </code></pre>
  
  <p>resulted in the error:</p>
  
  <pre><code>/usr/share/rubygems/rubygems/core_ext/kernel_require.rb:55:in `require': cannot load such file -- puppet/util/command_line (LoadError)
  from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:55:in `require'
  from /bin/puppet:7:in `&lt;main&gt;'
  </code></pre>
  
  <p>As I understand the new puppet installation directory /usr/lib/ruby/site_ruby/1.8/ is not in the ruby LOAD_PATH. </p>
  
  <p>I tried manually change the LOAD_PATH using ruby -I or LOAD_PATH.unshift or RUBYLIB.  All of this did not result into the permanent change of LOAD_PATH, only the temporary change happened.</p>
  
  <p>The directories in the LOAD_PATH are ["/usr/local/share/ruby/site_ruby", "/usr/local/lib64/ruby/site_ruby", "/usr/share/ruby/vendor_ruby", "/usr/lib64/ruby/vendor_ruby", "/usr/share/rubygems", "/usr/share/ruby", "/usr/lib64/ruby/"]</p>