railsware / newrelic_platform_plugins

MIT License
42 stars 66 forks source link

Run with sudo #47

Open jyr opened 9 years ago

jyr commented 9 years ago

Hi,

When I run

sudo newrelic_resque_agent install

I have a message

 /usr/bin/env: ruby: No such file or directory
kitsirota commented 9 years ago

If you're using RVM you may not have it set up correctly for root. Double check that root has the ruby env settings in place.