[Rails] newbie: stuck at deploying whenever via cap
hi,
im trying to deploy whenver + multistaging via cap:
this is my task
run "cd #{release_path} && whenever --set environment=#{rails_env}
--update-crontab #{application}_#{rails_env}"
1)why i do append rails_env to --update-crontab? because i would like
to have 2 sets of cronjobs, one for each stage (staging & production).
problem is that a deploy (eg proeduction) generates 2 sets of jobs,
which have the identifier:
- applicationname
- applicationname_production
>> why is this?
2) if im doing simething fundamental wring here, pls enlight me
could anyone pls shed osme light on this? thx
this is rails 2.3.x
--
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