Commit bd600c1c by Michael DeHaan

Merge pull request #2323 from laixer/devel

Respect gem_source option if specified
parents 969edabd b9a3cc55
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment