# Gem mysql install error

**URL:** <https://www.ruby-forum.com/t/gem-mysql-install-error/130646>\
**Category:** Ruby\
**Created:** [March 1, 2008, 4:25am UTC](https://www.ruby-forum.com/t/gem-mysql-install-error/130646 "2008-03-01T04:25:58Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![tim](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/ce73a5/32.png) [@tim](https://www.ruby-forum.com/u/tim)\
**Post date:** [March 1, 2008, 4:25am UTC](https://www.ruby-forum.com/t/gem-mysql-install-error/130646/1 "2008-03-01T04:25:58Z")

</div>

I tried installing the mysql gem like so:

* * *

C:\Documents and Settings\Tim\>gem install mysql  
Select which gem to install for your platform (i386-mswin32)

1. mysql 2.7.3 (mswin32)
2. mysql 2.7.1 (mswin32)
3. mysql 2.7 (ruby)
4. mysql 2.6 (ruby)
5. Skip this gem
6. Cancel installation

> 1  
> Successfully installed mysql-2.7.3-mswin32  
> Installing ri documentation for mysql-2.7.3-mswin32…  
> Installing RDoc documentation for mysql-2.7.3-mswin32…  
> While generating documentation for mysql-2.7.3-mswin32  
> … MESSAGE: Unhandled special: Special: type=17, text=""  
> … RDOC args: --op c:/ruby/lib/ruby/gems/1.8/doc/mysql-2.7.3-mswin32/  
> rdoc --exc  
> lude ext --main README --quiet ext README docs/README.html  
> (continuing with the rest of the installation)

## C:\Documents and Settings\Tim\>

Apparently, the rdoc documentation doesn’t install correctly. When I  
click on mysql’s rdoc link from the RubyGems Documentation Index, it  
just says webpage not found. Is there some way to install this  
documentation? Or failing that, is the documentation somewhere on the  
web?

Also, I am a ruby newbie so I don’t know where to find the ri  
documentation which seemingly _was_ installed. And does ri =  
reference implementation?

Many thanks to anyone who can help!

---

<div class="post-metadata">

**Author:** ![tim](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/ce73a5/32.png) [@tim](https://www.ruby-forum.com/u/tim)\
**Post date:** [March 1, 2008, 8:35pm UTC](https://www.ruby-forum.com/t/gem-mysql-install-error/130646/2 "2008-03-01T20:35:23Z")

</div>

On Sat, Mar 1, 2008 at 4:25 AM, Tim [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> 1. Cancel installation  
> lude ext --main README --quiet ext README docs/README.html
> 
> Also, I am a ruby newbie so I don’t know where to find the ri  
> documentation which seemingly _was_ installed. And does ri =  
> reference implementation?

1. you can most probably generate the rdocs from the installed gem - run  
“rdoc”  
somewhere in the mysql gem directory (I don’t have my kmachine here,  
so I can’t tell you more now).

2. for ri documentation, there’s ri command, e.g. “ri Array” or  
“String#length”. You may want to try fast-ri  
([eigenclass.org](http://eigenclass.org/hiki/fastri))

---

<div class="post-metadata">

**Author:** ![tim](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/ce73a5/32.png) [@tim](https://www.ruby-forum.com/u/tim)\
**Post date:** [March 2, 2008, 2:05pm UTC](https://www.ruby-forum.com/t/gem-mysql-install-error/130646/3 "2008-03-02T14:05:54Z")

</div>

Tim wrote:

> Apparently, the rdoc documentation doesn’t install correctly.

I think rdoc doesn’t like trying to include html files. If anyone knows  
how to fix that, let me know. You can go to  
[MySQL/Ruby](http://www.tmtm.org/en/mysql/ruby/) and get the same thing as what the  
rdoc should have been.

---

<div class="post-metadata">

**Author:** ![tim](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/ce73a5/32.png) [@tim](https://www.ruby-forum.com/u/tim)\
**Post date:** [March 3, 2008, 2:00am UTC](https://www.ruby-forum.com/t/gem-mysql-install-error/130646/4 "2008-03-03T02:00:34Z")

</div>

Thanks, guys. With your assistance I’m without the documentation no  
longer 🙂
