It’s nice where you are given the command line text to use to install a
gem
(see: mysql2 | RubyGems.org | your community gem host), and even more info on the gem’s
homepage (see: GitHub - brianmario/mysql2: A modern, simple and very fast Mysql library for Ruby - binding to libmysql “Installing”). But
when
is this syntax ever going to change?
I would REALLY like it if there were more to “You may have to
specify…”.
When? Why? What happens if I don’t?
And I would REALLY like it if explanations of errors were discussed. For
example:
Successfully installed mysql2-0.2.6-x86-mingw32
1 gem installed
Installing ri documentation for mysql2-0.2.6-x86-mingw32…
Enclosing class/module ‘mMysql2’ for class Client not known
Installing RDoc documentation for mysql2-0.2.6-x86-mingw32…
Enclosing class/module ‘mMysql2’ for class Client not known
Is ‘class Client not known’ reporting an error, or it supposed to say
this
when things are good?
2011/1/7 Brian S. [email protected]:
It’s nice where you are given the command line text to use to install a gem
(see: mysql2 | RubyGems.org | your community gem host), and even more info on the gem’s
homepage (see: GitHub - brianmario/mysql2: A modern, simple and very fast Mysql library for Ruby - binding to libmysql “Installing”). But when
is this syntax ever going to change?
I would REALLY like it if there were more to “You may have to specify…”.
When? Why? What happens if I don’t?
If gem install works, then you don’t have to worry about it. It’s for
people who install mysql in a non-standard place.
when things are good?
I agree that this is confusing. The error is generated by the ri and
RDoc generator, which is not able to understand some statement in the
source code. It means that the documentation may not be perfect, but
this doesn’t affect the library execution at all.
Cheers,
zimbatm
On Jan 6, 11:44pm, Brian S. [email protected]
wrote:
Successfully installed mysql2-0.2.6-x86-mingw32
1 gem installed
Installing ri documentation for mysql2-0.2.6-x86-mingw32…
Enclosing class/module ‘mMysql2’ for class Client not known
Installing RDoc documentation for mysql2-0.2.6-x86-mingw32…
Enclosing class/module ‘mMysql2’ for class Client not known
Is ‘class Client not known’ reporting an error, or it supposed to say this
when things are good?
The error came after “1 gem installed” So the gem installed and the
context of the error is around “Installing ri/RDoc documentation”
You need to report this documentation “bug” to the gem author:
But first look there if nobody else reported it before.