haris
May 14, 2008, 8:26pm
1
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=""
… 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.
haris
May 14, 2008, 8:56pm
2
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.
“Haris B.” [email protected] wrote in message
news:[email protected] …
haris
May 14, 2008, 10:01pm
3
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Haris B. 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 G.
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-----