diff --git a/group_vars/bibdata/common.yml b/group_vars/bibdata/common.yml index e260677e5e..0d15ea45b9 100644 --- a/group_vars/bibdata/common.yml +++ b/group_vars/bibdata/common.yml @@ -4,7 +4,7 @@ passenger_ruby: "/usr/local/bin/ruby" passenger_extra_http_config: - "passenger_preload_bundler on;" install_ruby_from_source: true -ruby_version_override: "ruby-3.3.6" +ruby_version_override: "ruby-3.4.1" bundler_version: "2.5.17" rails_app_dependencies: - libpq-dev diff --git a/roles/bibdata/tasks/main.yml b/roles/bibdata/tasks/main.yml index 6109461553..4ef4707388 100644 --- a/roles/bibdata/tasks/main.yml +++ b/roles/bibdata/tasks/main.yml @@ -8,21 +8,21 @@ ansible.builtin.include_tasks: mounts.yml - name: bibdata | update rubygems - ansible.builtin.command: gem update --system 3.5.17 + ansible.builtin.command: gem update --system 3.6.1 become: true register: update_rubygems changed_when: '"Latest version already installed. Done." not in update_rubygems.stdout' tags: rubygems - name: bibdata | install default bundler - ansible.builtin.command: gem install --default bundler:2.5.17 + ansible.builtin.command: gem install --default bundler:2.6.1 become: true register: install_default_bundler - changed_when: '"Fetching bundler-2.5.17.gem" in install_default_bundler.stdout' + changed_when: '"Fetching bundler-2.6.1.gem" in install_default_bundler.stdout' tags: rubygems - name: bibdata | remove old default bundler ansible.builtin.file: - path: /usr/local/lib/ruby/gems/3.1.0/specifications/default/bundler-2.5.7.gemspec + path: /usr/local/lib/ruby/gems/3.1.0/specifications/default/bundler-2.5.17.gemspec state: absent tags: rubygems