# How to install or update mysql and postgres gems

**URL:** <https://www.ruby-forum.com/t/how-to-install-or-update-mysql-and-postgres-gems/83190>\
**Category:** Ruby\
**Created:** [January 24, 2007, 8:35am UTC](https://www.ruby-forum.com/t/how-to-install-or-update-mysql-and-postgres-gems/83190 "2007-01-24T08:35:41Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![threeeyedfish](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/a587f6/32.png) [@threeeyedfish](https://www.ruby-forum.com/u/threeeyedfish)\
**Post date:** [January 24, 2007, 8:35am UTC](https://www.ruby-forum.com/t/how-to-install-or-update-mysql-and-postgres-gems/83190/1 "2007-01-24T08:35:41Z")

</div>

Good day!  
I have problems with installing and updating mysql and postgres gems.  
It seems like RubyGems can’t find my mysql and postgres installations  
(they are in /usr/local/mysql and /usr/local/pgsql as by default). What  
flag I should supply to gem to install and update successfully.  
Is there any way to make gems permanently know about these locations so  
that I will be able to use gem update to update all?  
I use RubyGems 0.9.1.

Your sincerely,  
Damian/Three-eyed Fish
