Hi’ Rails riders. I having upgraded everything and upgraded to
Rails 2.2.2 I now wanted to install the MySQL gem as I am getting the
following error when trying to load up the app.
no such file to load – mysql
Normally running gem install mysql works with no problems but, now I get
the following:
gem install mysql
gem install mysql
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)
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)
How to install mysql in Rails 2.2.2.
Well first off install the mysql gem has nothing to do with what
version of rails is installed. If it’s not happy with one of the rdoc
comments you could just pass --no-rdoc (although by the looks of it
doesn’t matter - it installed the gem anyway, just not the docs).