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 -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Quoting doug <ddjolley-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>:> 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 -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
> HTH,It helps a lot. I''m still having problems; but, I''m definitely past this issue. Thanks for the input. ... doug -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.