# Gem install mysql options

**URL:** <https://www.ruby-forum.com/t/gem-install-mysql-options/142329>\
**Category:** Rails\
**Created:** [July 6, 2008, 9:34pm UTC](https://www.ruby-forum.com/t/gem-install-mysql-options/142329 "2008-07-06T21:34:01Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![nextpulse](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/71c47a/32.png) [@nextpulse](https://www.ruby-forum.com/u/nextpulse)\
**Post date:** [July 6, 2008, 9:34pm UTC](https://www.ruby-forum.com/t/gem-install-mysql-options/142329/1 "2008-07-06T21:34:01Z")

</div>

> gem install mysql

Need to update 7 gems from [http://gems.rubyforge.org](http://gems.rubyforge.org)  
…  
complete  
Select which gem to install for your platform (i386-linux)

1. mysql 2.7.2006.05.10 (mswin32)
2. mysql 2.7.2006.04.21 (mswin32)
3. mysql 2.7.3 (mswin32)
4. mysql 2.7.3 (mswin32)
5. Skip this gem
6. Cancel installation

The options offered above does not match my system (info below). What  
can I do?

Linux ip-10-251-193-172 2.6.16-xenU #1 SMP Mon May 28 03:41:49 SAST 2007  
i686 athlon i386 GNU/Linux

I’ve also used:

gem install mysql – --with-mysql-config=/usr/lib/mysql/mysql\_config

which gave the same result.

---

<div class="post-metadata">

**Author:** ![nextpulse](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/71c47a/32.png) [@nextpulse](https://www.ruby-forum.com/u/nextpulse)\
**Post date:** [July 6, 2008, 10:21pm UTC](https://www.ruby-forum.com/t/gem-install-mysql-options/142329/2 "2008-07-06T22:21:42Z")

</div>

On Sun, 2008-07-06 at 21:34 +0200, RR YY wrote:

> 1. Skip this gem
> 
> gem install mysql – --with-mysql-config=/usr/lib/mysql/mysql\_config
> 
> which gave the same result.

* * *

you might try removing the gem source cache file…

rm /usr/lib/ruby/gems/1.8/source\_cache

and then retry ‘gem install mysql’

Craig

---

<div class="post-metadata">

**Author:** ![nextpulse](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/71c47a/32.png) [@nextpulse](https://www.ruby-forum.com/u/nextpulse)\
**Post date:** [July 7, 2008, 12:54am UTC](https://www.ruby-forum.com/t/gem-install-mysql-options/142329/3 "2008-07-07T00:54:33Z")

</div>

Craig W. wrote:

> On Sun, 2008-07-06 at 21:34 +0200, RR YY wrote:
> 
> > 1. Skip this gem
> > 
> > gem install mysql – --with-mysql-config=/usr/lib/mysql/mysql\_config
> > 
> > which gave the same result.
> 
> * * *
> 
> you might try removing the gem source cache file…
> 
> rm /usr/lib/ruby/gems/1.8/source\_cache
> 
> and then retry ‘gem install mysql’
> 
> Craig

Thanks!!! That worked!
