ENC ruby script : `require': no such file to load -- rubygems (LoadError)
I am using a ruby script as an External node classifier and I have required 'amazon-ec2' gem in the script. I execution of this script always returns 1 and I assume it's because the script is run as root user. And running the script as root user returns the following error: `require': no such file to load -- rubygems (LoadError)
How do I resolve this issue?
Thanks in advance.