# Gem module doesn't update when gem\_source set

**URL:** <https://forum.ansible.com/t/gem-module-doesnt-update-when-gem-source-set/15114>\
**Category:** Ansible Project\
**Created:** [April 30, 2014, 8:37am UTC](https://forum.ansible.com/t/gem-module-doesnt-update-when-gem-source-set/15114 "2014-04-30T08:37:14Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![ralovely](https://avatars.discourse-cdn.com/v4/letter/r/57b2e6/32.png) [@ralovely](https://forum.ansible.com/u/ralovely)\
**Post date:** [April 30, 2014, 8:37am UTC](https://forum.ansible.com/t/gem-module-doesnt-update-when-gem-source-set/15114/1 "2014-04-30T08:37:14Z")

</div>

Hi.

We include a gem as a .gem file, copy it over the host, and then use the gem module to install it.  
If we update the gem with a new version, the gem module doesn’t pick up the change and doesn’t run.

With gem\_source, we can’t use the version number, nor the state=latest.

Is there a way to go around that ?

Thank you

ansible 1.5.2

---

<div class="post-metadata">

**Author:** ![Mike\_Jones](https://avatars.discourse-cdn.com/v4/letter/m/74df32/32.png) [@Mike\_Jones](https://forum.ansible.com/u/Mike_Jones)\
**Post date:** [May 5, 2014, 8:38pm UTC](https://forum.ansible.com/t/gem-module-doesnt-update-when-gem-source-set/15114/2 "2014-05-05T20:38:52Z")

</div>

I’m running into the same issue with ansible 1.5.5

---

<div class="post-metadata">

**Author:** ![Michael\_DeHaan1](https://avatars.discourse-cdn.com/v4/letter/m/5e9695/32.png) [@Michael\_DeHaan1](https://forum.ansible.com/u/Michael_DeHaan1)\
**Post date:** [May 6, 2014, 3:45am UTC](https://forum.ansible.com/t/gem-module-doesnt-update-when-gem-source-set/15114/3 "2014-05-06T03:45:45Z")

</div>

If you believe you have an issue here with the current release (latest is 1.6 as of today), please make sure one is filed at [github.com/ansible/ansible](http://github.com/ansible/ansible).

Thanks!

---

<div class="post-metadata">

**Author:** ![Mike\_Jones](https://avatars.discourse-cdn.com/v4/letter/m/74df32/32.png) [@Mike\_Jones](https://forum.ansible.com/u/Mike_Jones)\
**Post date:** [May 6, 2014, 5:59pm UTC](https://forum.ansible.com/t/gem-module-doesnt-update-when-gem-source-set/15114/4 "2014-05-06T17:59:32Z")

</div>

Confirmed bug still exists in 1.6 and filed ticket in github tracker.

---

<div class="post-metadata">

**Author:** ![Michael\_DeHaan1](https://avatars.discourse-cdn.com/v4/letter/m/5e9695/32.png) [@Michael\_DeHaan1](https://forum.ansible.com/u/Michael_DeHaan1)\
**Post date:** [May 6, 2014, 7:15pm UTC](https://forum.ansible.com/t/gem-module-doesnt-update-when-gem-source-set/15114/5 "2014-05-06T19:15:28Z")

</div>

Thanks!
