gem install mysql

H

Haris Bogdanovic

When I try to 'gem install mysql' I get the following error:

-------------------------------------------------------------------------------------

Successfully installed mysql-2.7.3-x86-mswin32
1 gem installed
Installing ri documentation for mysql-2.7.3-x86-mswin32...
Installing RDoc documentation for mysql-2.7.3-x86-mswin32...
ERROR: While generating documentation for mysql-2.7.3-x86-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-x86-mswin32/rdoc -
-exclude ext --main README --quiet ext README docs/README.html
(continuing with the rest of the installation)

----------------------------------------------------------------------------------------

require 'mysql' doesn't work ("no such file to load - mysql")

How can I make this work ?

Thanks.
 
P

Phillip Gawlowski

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Haris Bogdanovic wrote:
| I tried 'gem install mysql --no-rdoc --no-ri' and I get:
| -------------------------------------------------
| Successfully installed mysql-2.7.3-x86-mswin32
| 1 gem installed
| --------------------------------------------------
| but "require 'mysql'" still doesn't work.


Because the generation of the documentation only happens after a
successful install.

Try the following:
require 'rubygems'
require 'mysql'

- --
Phillip Gawlowski
Twitter: twitter.com/cynicalryan
Blog: http://justarubyist.blogspot.com

~ I have plenty of common sense, I just choose to ignore it.
~ --- Calvin
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkgrROUACgkQbtAgaoJTgL+r7wCgokBxp8lxyIx6M2ZKWzhLp6/4
AdkAoKdtcUbO/xEziDDH3lUZkWrDWeGP
=I7UO
-----END PGP SIGNATURE-----
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,766
Messages
2,569,569
Members
45,045
Latest member
DRCM

Latest Threads

Top