mirror of
https://github.com/krislamo/vagrant-easyredmine
synced 2025-01-05 14:10:35 +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 }}
|
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 \
|
eupathdb:fetch_changesets \
|
||||||
RAILS_ENV="production"
|
RAILS_ENV="production"
|
||||||
|
@ -2,7 +2,10 @@
|
|||||||
|
|
||||||
cd {{ redmine_root_dir }}
|
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 \
|
redmine:email:receive_imap \
|
||||||
RAILS_ENV="production" \
|
RAILS_ENV="production" \
|
||||||
project=sysdba \
|
project=sysdba \
|
||||||
|
Loading…
Reference in New Issue
Block a user