rbenv shims

94 views
Skip to first unread message

ileitch

unread,
Feb 16, 2012, 10:16:34 AM2/16/12
to god.rb
Hi,

What's the correct approach for my God scripts to see my rbenv shims?

God itself starts fine, as I set PATH in /etc/init.d/god:

PATH=/root/.rbenv/shims:/root/.rbenv/bin:$PATH

The individual watchers however do not have the shims in the PATH. I
could just hard code the absolute path to the shim in my watcher, but
I feel there must be a cleaner way?

I also don't see an option for setting PATH in God.

Cheers
Ian


Reply all
Reply to author
Forward
0 new messages