diff --git a/conf/cron b/conf/cron index 2b80d85..2c319fa 100644 --- a/conf/cron +++ b/conf/cron @@ -1,2 +1,2 @@ RAILS_ENV=production -@daily cd __FINAL__PATH__/live && __FINAL__PATH__/.rbenv/shims/bundle exec rake __USER__:media:remove_remote +@daily cd __FINAL__PATH__/live && /opt/rbenv/versions/2.6.0/bin/bundle exec rake __USER__:media:remove_remote diff --git a/scripts/install b/scripts/install index a4ef780..05f1bd3 100644 --- a/scripts/install +++ b/scripts/install @@ -100,12 +100,12 @@ ynh_package_update # install nodejs ynh_install_nodejs 8 -# install ruby -ynh_install_ruby --ruby_version=2.6.0 - # TODO: use the same mecanism with other files ynh_install_app_dependencies $pkg_dependencies +# install ruby +ynh_install_ruby --ruby_version=2.6.0 + #================================================= # CREATE A POSTGRESQL DATABASE #================================================= diff --git a/scripts/upgrade b/scripts/upgrade index 38b48ce..8f98166 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -135,12 +135,12 @@ ynh_package_update # install nodejs ynh_install_nodejs 8 -# install ruby -ynh_install_ruby --ruby_version=2.6.0 - # TODO: use the same mecanism with other files ynh_install_app_dependencies $pkg_dependencies +# install ruby +ynh_install_ruby --ruby_version=2.6.0 + #================================================= # CREATE DEDICATED USER #=================================================