mirror of
https://github.com/internetee/registry.git
synced 2025-08-03 08:22:05 +02:00
added shorter whenever path
This commit is contained in:
parent
3cfc7c1219
commit
29e35c6452
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.to_s.sub('^\\','')
|
||||
path = Whenever.path.join('../../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