# Gem install mysql - not showing the right options

**URL:** <https://rubytalk.org/t/gem-install-mysql-not-showing-the-right-options/43899>\
**Category:** ruby-talk\
**Created:** [19 January 2008 20:01 UTC](https://rubytalk.org/t/gem-install-mysql-not-showing-the-right-options/43899 "2008-01-19T20:01:42Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Venks](https://avatars.discourse-cdn.com/v4/letter/v/edb3f5/32.png) [@Venks](https://rubytalk.org/u/Venks)\
**Post date:** [19 January 2008 20:01 UTC](https://rubytalk.org/t/gem-install-mysql-not-showing-the-right-options/43899/1 "2008-01-19T20:01:42Z")

</div>

Hi,

I am trying to install the native mysql drivers using "gem install  
mysql" on Fedora 6 machine and following are the options shown:

> **···**
>
> ===============================================
> 
> 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
> 
> =================================================
> 
> I tried the following but with the same results. What's missing? It's  
> only showing "mswin32" option.
> 
> gem install mysql -- --with-mysql-dir=/var/lib/mysql  
> --with-mysql-config=/usr/bin/mysql\_config  
> --with-mysql-include=/usr/include/mysql  
> --with-mysql-lib=/usr/lib/mysql
> 
> Thanks,
> 
> -Venks

---

<div class="post-metadata">

**Author:** ![Eric\_Hodel1](https://avatars.discourse-cdn.com/v4/letter/e/a9adbd/32.png) [@Eric\_Hodel1](https://rubytalk.org/u/Eric_Hodel1)\
**Post date:** [20 January 2008 00:40 UTC](https://rubytalk.org/t/gem-install-mysql-not-showing-the-right-options/43899/2 "2008-01-20T00:40:09Z")

</div>

a) `gem install --version=2.7 mysql`  
b) upgrade to a newer RubyGems.

> **···**
>
> On Jan 19, 2008, at 12:01 PM, Venks wrote:
> 
> > I am trying to install the native mysql drivers using "gem install  
> > mysql" on Fedora 6 machine and following are the options shown:
> > 
> > ===============================================
> > 
> > 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
