Skip to content

Commit

Permalink
[Geaccirc] Part of pulibrary/geaccirc#59 (#5384)
Browse files Browse the repository at this point in the history
Updates bundler version
  • Loading branch information
christinach authored Sep 25, 2024
1 parent b2626f5 commit 9a5fe88
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
2 changes: 2 additions & 0 deletions group_vars/geaccirc/common.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,5 @@ running_on_server: true
ruby_version_override: "ruby-3.1.3"
install_ruby_from_source: true
passenger_ruby: "/usr/local/bin/ruby"
passenger_extra_http_config:
- "passenger_preload_bundler on;"
13 changes: 13 additions & 0 deletions roles/geaccirc/tasks/main.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,15 @@
---
# tasks file for roles/geaccirc
- name: geaccirc | update rubygems
ansible.builtin.command: gem update --system 3.5.13
become: true
register: update_rubygems
changed_when: '"Latest version already installed. Done." not in update_rubygems.stdout'
tags: rubygems

- name: geaccirc | install default bundler
ansible.builtin.command: gem install --default bundler:2.5.13
become: true
register: install_default_bundler
changed_when: '"Fetching bundler-2.5.13.gem" in install_default_bundler.stdout'
tags: rubygems

0 comments on commit 9a5fe88

Please sign in to comment.