runner - path to Ruby

I am trying to use Action Mailer and runner to process incoming mail
addressed to a specific address (optin).

It appears that runner expects to find Ruby in /usr/bin. I am running
Passenger and have Ruby located elsewhere. runner does not seem to
have an option for specifying an alternative location for Ruby.

Can someone please tell me what I need to do to make runner aware of
the alternative location for Ruby?

Just for the record, I am using Postfix and the relevant entry in my /
etc/aliases file looks like this:

optin: "/var/www/rails/railshq.net/script/runner
'Emailer.receive2optin(STDIN.read)'"

Thanks for any input.

          ... doug

Quoting doug <ddjolley@gmail.com>:

I am trying to use Action Mailer and runner to process incoming mail
addressed to a specific address (optin).

It appears that runner expects to find Ruby in /usr/bin. I am running
Passenger and have Ruby located elsewhere. runner does not seem to
have an option for specifying an alternative location for Ruby.

Can someone please tell me what I need to do to make runner aware of
the alternative location for Ruby?

instead of /var/www/rails/railshq.net/script/runner abc.rb

optin: "/usr/local/ruby /var/www/railshq.net/script/runner abc.rb ...

Or whatever the path to Ruby is. Or alter the path on the first line on
runner.

HTH,
  Jeffrey

HTH,

It helps a lot. I'm still having problems; but, I'm definitely past
this issue. Thanks for the input.

      ... doug