Mohamed Lrhazi
2011-Feb-10 19:23 UTC
[Puppet Users] Testing custom function and puupet LoadError
I am using ruby-enterprise, installed under: /opt/ruby-enterprise, when I try to run ruby interpreter I get error about loading puppet: # ruby -rpuppet netbackup_servers.rb ruby: no such file to load -- puppet (LoadError) What do I need to set RUBYLIB env var to? I tried this: export RUBYLIB=$RUBYLIB:/opt/ruby-enterprise/lib/ruby/ export RUBYLIB=$RUBYLIB:/opt/ruby-enterprise/lib/ruby/1.8/ export RUBYLIB=$RUBYLIB:/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/puppet-2.6.3 Thanks a lot. Mohamed. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.