Displaying 1 result from an estimated 1 matches for "netbackup_serv".
2011 Feb 10
0
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/pupp...