mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-04 12:22:45 +00:00
rbenv has a special exec function which loads the correct ruby version before executing a command. The syntax for this is `/usr/local/rbenv/bin/rbenv exec gem ...` for example. But previously when specifying executable='/usr/local/rbenv/bin/rbenv exec gem' this would not work because the string was treated as one executable. This PR fixes that by splitting the executable on spaces.