diff --git a/scripts/_common.sh b/scripts/_common.sh index 11d05e3..e14d61d 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -4,10 +4,10 @@ # COMMON VARIABLES #================================================= -ruby_version=2.7.4 +ruby_version=3.0.2 nodejs_version=16 bundler_version=2.2.19 -rails_version=6.0.4 +rails_version=6.1 # dependencies used by the app (must be on a single line) pkg_dependencies="postgresql imagemagick redis-server" diff --git a/scripts/install b/scripts/install index e237bff..56ebf66 100755 --- a/scripts/install +++ b/scripts/install @@ -127,8 +127,8 @@ ynh_script_progression --message="Installing gems..." --weight=1 pushd $final_path ynh_use_ruby ynh_use_nodejs - ynh_exec_warn_less $ynh_gem install bundler --version $bundler_version - ynh_exec_warn_less $ynh_gem install rails --version $rails_version + ynh_exec_warn_less $ynh_gem install bundler + #ynh_exec_warn_less $ynh_gem install rails --version $rails_version ynh_exec_warn_less $ynh_gem install decidim -v $(ynh_app_upstream_version) ynh_exec_warn_less decidim live popd diff --git a/scripts/restore b/scripts/restore index 7280c16..71d2cb2 100755 --- a/scripts/restore +++ b/scripts/restore @@ -117,8 +117,8 @@ ynh_script_progression --message="Installing gems..." --weight=1 pushd $final_path ynh_use_ruby ynh_use_nodejs - ynh_exec_warn_less $ynh_gem install bundler --version $bundler_version - ynh_exec_warn_less $ynh_gem install rails --version $rails_version + ynh_exec_warn_less $ynh_gem install bundler + #ynh_exec_warn_less $ynh_gem install rails --version $rails_version ynh_exec_warn_less $ynh_gem install decidim -v $(ynh_app_upstream_version) popd diff --git a/scripts/upgrade b/scripts/upgrade index 7fb59a1..bd414ca 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -118,8 +118,8 @@ then pushd $final_path ynh_use_ruby ynh_use_nodejs - ynh_exec_warn_less $ynh_gem install bundler --version $bundler_version - ynh_exec_warn_less $ynh_gem install rails --version $rails_version + ynh_exec_warn_less $ynh_gem install bundler + #ynh_exec_warn_less $ynh_gem install rails --version $rails_version ynh_exec_warn_less $ynh_gem install decidim -v $(ynh_app_upstream_version) popd fi