merb
Namespaces
- merb:centos (1)
- merb:logrotate (1)
- merb:monit (4)
Tasks
Task documentation
merb:migrate
Run the migrate rake task. By default, it runs this in most recently deployed version of the app. However, you can specify a different release via the migrate_target variable, which must be one of :latest (for the default behavior), or :current (for the release indicated by the `current’ symlink). Strings will work for those values instead of symbols, too. You can also specify additional environment variables to pass to rake via the migrate_env variable. Finally, you can specify the full path to the rake executable by setting the rake variable. The defaults are:
set :rake, "rake"
set :merb_env, "production"
set :migrate_env, ""
set :migrate_target, :latest
Parameters
- rake
- Path to rake
- Defaults to
"rake" - merb_env
- Merb environment
- Defaults to
"" - migrate_target
- Migration target
- Defaults to
:latest
ducktyper.com, 14th May 2008
Theme extended from Paul Battley