Commit Graph

16 Commits (30dcd9aa2f724813288f22529f8a64b0cd960ae6)

Author SHA1 Message Date
ebargtuo e6090d2f9e Fix a typo in gem module documentation 10 years ago
Koen Punt 6c20fa0d6f Allow gem executable to contain spaces
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.
10 years ago
Michael DeHaan f4bf078d6f Rename prerelease to pre_release. 11 years ago
Bob Zoller b023f32cdf gem module supports prerelease (--pre) 11 years ago
Michael DeHaan ea3e0f8386 Merge branch 'devel' of https://github.com/drewblas/ansible into devel 11 years ago
Michael DeHaan cb9059b250 Various commits to enable no-shell or safe-shell usage, more to come. 11 years ago
Drew 0500f5efb1 Fix proper defaulting/required of 'state' for gem module
The docs for 'gem' say state is required, but the actual code says it's not required.

If it's not included (and there's no default) then the if block falls through with no changes and no errors (it neither adds nor removes the gem).

This change synchronizes the docs with the code.  It also adds the sane default of state=present, which is consistent with all other modules with the 'state' field.
11 years ago
Manuel Tiago Pereira 75aaa3ca56 Fixes #5819: Added --executables to gem uninstall command. 11 years ago
James Tanner 38edad70ac Fixes #5023 Convert all modules to use new snippet import pattern 11 years ago
Mickaël Rémond 4d334b3c86 Add executable parameter to find gem binary in gem module
This is especially needed with rvm where gem binary can be in unusual locations
11 years ago
Andy Kluger 8f43db3167 Fix for Issue #2470 - gem version string processing
This fix assumes that no sane gem version has spaces in it, so when one like that is encountered, it will get truncated at the first space.
11 years ago
Jocelyn Jaubert 8b5d2aeef9 Correctly handle option user_install in gem module 11 years ago
Michael DeHaan dc7e280d3b Update docs to add version_added attribute. 11 years ago
Dmitry Kolobaev 796e68d15a Update gem
I've added ability to install gems in system-wide manner with --no-user-install options
11 years ago
Jan-Piet Mens 98c1423269 Docs: consistently format playbook EXAMPLES 11 years ago
Michael DeHaan cd97a4cb14 Allow modules to be categorized, and also sort them when generating the documentation. 12 years ago