mirror of
https://github.com/krislamo/vagrant-easyredmine
synced 2024-12-16 07:20:36 +00:00
source RVM env in cron scripts
This commit is contained in:
parent
da656b1b7e
commit
c44bdb5b0c
@ -4,6 +4,9 @@
|
||||
|
||||
cd {{ redmine_root_dir }}
|
||||
|
||||
/usr/local/bin/bundle exec rake \
|
||||
[[ -s "{{ rvm1_install_path }}/scripts/rvm" ]] && \
|
||||
source "{{ rvm1_install_path }}/scripts/rvm"
|
||||
|
||||
{{ rvm1_install_path }}/gems/ruby-{{ ruby_version }}/bin/bundle exec rake \
|
||||
eupathdb:fetch_changesets \
|
||||
RAILS_ENV="production"
|
||||
|
@ -2,7 +2,10 @@
|
||||
|
||||
cd {{ redmine_root_dir }}
|
||||
|
||||
/usr/local/bin/bundle exec rake \
|
||||
[[ -s "{{ rvm1_install_path }}/scripts/rvm" ]] && \
|
||||
source "{{ rvm1_install_path }}/scripts/rvm"
|
||||
|
||||
{{ rvm1_install_path }}/gems/ruby-{{ ruby_version }}/bin/bundle exec rake \
|
||||
redmine:email:receive_imap \
|
||||
RAILS_ENV="production" \
|
||||
project=sysdba \
|
||||
|
Loading…
Reference in New Issue
Block a user