On 13 April 2012 08:14, honey ruby <[email protected]> wrote:
> hi guys . i am trying to create a mailer in production i used this
> command ruby script/generate mailer cronjob . when i run the command
> it shows this error

Try
RAILS_ENV=production ruby script/generate mailer cronjob
that is how you would do it using rake at least.

Colin

-- 
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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to