Respect gem_source option if specified

reviewable/pr18780/r1
Vadim Berezniker 12 years ago
parent f15bb4393e
commit c1e24cb7a0

2
gem

@ -151,7 +151,7 @@ def main():
if module.params['gem_source'] and module.params['state'] == 'latest':
module.fail_json(msg="Cannot maintain state=latest when installing from local source")
if module.params['gem_source'] is not 'null':
if not module.params['gem_source']:
module.params['gem_source'] = module.params['name']
changed = False

Loading…
Cancel
Save