title: How to specify rubygems path in environment-less Ruby script?
body: <p>I've written a data collection script for Cacti in Ruby and it runs fine from the command line <em>but</em> Cacti runs the script via "env -i" which strips the environment so Ruby can't find the rubygems library ("in `require': no such file to load -- rubygems (LoadError)").  How might I work around this?</p>