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