Here's the section of the role:
- name: Install latest Bundler gem
ansible.builtin.gem:
name: bundler
state: present
user_install: false
executable: /bin/gem
changed_when: false
Thanks,
Harry
On Friday, July 28, 2023 at 5:57:23 PM UTC-4 Dick Visser wrote:
> Without seeing any tasks or plays that would be hard.
>
> On Fri, 28 Jul 2023 at 21:31, [email protected] <[email protected]> wrote:
>
>> I have a role that will install Redmine onto a RHEL 8 system. When I run
>> the playbook and it tries to install "bundler", I get the following error:
>>
>> ERROR: Error installing bundler:
>> bundler requires Ruby version >= 2.6.0. The current ruby version is 2.5.0.
>>
>> I have installed Ruby 2.7.8 on the target system using rvm, but I still
>> get that error. How can I have the playbook recognize that Ruby 2.7.8 is
>> installed and the default to eliminate this error?
>>
>> Thanks,
>> Harry
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Ansible Project" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/ansible-project/f63f28aa-2e8f-4980-8b41-4b2c3da4117cn%40googlegroups.com
>>
>> <https://groups.google.com/d/msgid/ansible-project/f63f28aa-2e8f-4980-8b41-4b2c3da4117cn%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
> --
> Sent from Gmail Mobile
>
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/67deb9f2-10eb-4ce3-829a-1593f7d3195an%40googlegroups.com.