mirror of
https://github.com/internetee/registry.git
synced 2025-05-17 09:57:23 +02:00
syntax cleanup
This commit is contained in:
parent
715456c6bb
commit
9e824a43f8
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@
|
||||||
|
|
||||||
# rbenv support
|
# rbenv support
|
||||||
rbenv = 'export PATH="$HOME/.rbenv/bin:$PATH";eval "$(rbenv init -)";'
|
rbenv = 'export PATH="$HOME/.rbenv/bin:$PATH";eval "$(rbenv init -)";'
|
||||||
path = Whenever.path.sub(/\/releases\/.*/, '/current')
|
path = Whenever.path.sub(%r(\/releases\/.*), '/current')
|
||||||
set :job_template, "/bin/bash -l -c '#{rbenv} :job'"
|
set :job_template, "/bin/bash -l -c '#{rbenv} :job'"
|
||||||
job_type :runner, "cd #{path} && bin/rails r -e :environment \":task\" :output"
|
job_type :runner, "cd #{path} && bin/rails r -e :environment \":task\" :output"
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue