# A way to mark gems with "hold"

**URL:** <https://www.ruby-forum.com/t/a-way-to-mark-gems-with-hold/113889>\
**Category:** Rails\
**Created:** [September 5, 2007, 10:45pm UTC](https://www.ruby-forum.com/t/a-way-to-mark-gems-with-hold/113889 "2007-09-05T22:45:13Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jawosis](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/f04885/32.png) [@jawosis](https://www.ruby-forum.com/u/jawosis)\
**Post date:** [September 5, 2007, 10:45pm UTC](https://www.ruby-forum.com/t/a-way-to-mark-gems-with-hold/113889/1 "2007-09-05T22:45:13Z")

</div>

Is there a way to mark a gem as “hold” as apt-get does.

I would like to mark some gems so that “gem update” does  
not update the currently installed version.

–  
Jochen K.  
[railswerk.de](http://railswerk.de), [gissmoh.de](http://gissmoh.de), [figgfrosch.de](http://figgfrosch.de), [ror-ror.de](http://ror-ror.de)

---

<div class="post-metadata">

**Author:** ![jawosis](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/f04885/32.png) [@jawosis](https://www.ruby-forum.com/u/jawosis)\
**Post date:** [September 6, 2007, 5:31am UTC](https://www.ruby-forum.com/t/a-way-to-mark-gems-with-hold/113889/2 "2007-09-06T05:31:49Z")

</div>

On Sep 5, 1:44 pm, Jochen K. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Is there a way to mark a gem as “hold” as apt-get does.
> 
> I would like to mark some gems so that “gem update” does  
> not update the currently installed version.
> 
> –  
> Jochen K.  
> [railswerk.de](http://railswerk.de), [gissmoh.de](http://gissmoh.de), [figgfrosch.de](http://figgfrosch.de), [ror-ror.de](http://ror-ror.de)

Dunno, but you can ask what updates it will do beforehand:  
[http://pond.org.uk/ruby/](http://pond.org.uk/ruby/)
