# Gem install mysql - not showing the right options

**URL:** <https://www.ruby-forum.com/t/gem-install-mysql-not-showing-the-right-options/126582>\
**Category:** Ruby\
**Created:** [January 19, 2008, 9:02pm UTC](https://www.ruby-forum.com/t/gem-install-mysql-not-showing-the-right-options/126582 "2008-01-19T21:02:37Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Venks](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/v/edb3f5/32.png) [@Venks](https://www.ruby-forum.com/u/Venks)\
**Post date:** [January 19, 2008, 9:02pm UTC](https://www.ruby-forum.com/t/gem-install-mysql-not-showing-the-right-options/126582/1 "2008-01-19T21:02:37Z")

</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:** ![Venks](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/v/edb3f5/32.png) [@Venks](https://www.ruby-forum.com/u/Venks)\
**Post date:** [January 20, 2008, 1:40am UTC](https://www.ruby-forum.com/t/gem-install-mysql-not-showing-the-right-options/126582/2 "2008-01-20T01:40:42Z")

</div>

On Jan 19, 2008, at 12:01 PM, Venks wrote:

> 1. Skip this gem
> 2. Cancel installation

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