Re: [Rails] unable to run a command in production
On 13 April 2012 08:14, honey ruby <emailtohoneyruby@gmail.com> 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 rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home