[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

gem mysql install error

Tim

3/1/2008 3:21:00 AM

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="<!-- $Id:
README.html,
v 1.20 2006-12-20 05:31:52 tommy Exp $ -->"
.... 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!
3 Answers

Jano Svitok

3/1/2008 7:35:00 PM

0

On Sat, Mar 1, 2008 at 4:25 AM, Tim <TimWelsh5@gmail.com> wrote:
> 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="<!-- $Id:
> README.html,
> v 1.20 2006-12-20 05:31:52 tommy Exp $ -->"
> ... 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?

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
(http://eigenclass.org/h...)

Kevin Williams

3/2/2008 1:06:00 PM

0

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
http://www.tmtm.org/en/m... and get the same thing as what the
rdoc should have been.
--
Posted via http://www.ruby-....

Tim

3/3/2008 12:58:00 AM

0

Thanks, guys. With your assistance I'm without the documentation no
longer :)