luislavena / mysql-gem

MySQL/Ruby Bindings, wrapped as Gem with improved cross-platform support
http://rubyforge.org/projects/mysql-win
Other
53 stars 20 forks source link

Win 7 install error in Ruby 1.8.6 #7

Closed JediJoel closed 14 years ago

JediJoel commented 14 years ago

Forgive my ignorance. I have a script that has been handed down to me which queries a MySQL DB to change the name and IP address of a machine based off the mac. Of course that script uses Ruby and has worked with mysql 2.7.3 gem. I'm running Ruby 1.8.6 398 which I installed using the one-click installer on Windows 7. This is the first time I'm trying to get this script working on Win7. Any help would be appreciated.

When I "gem install mysql" I get:

"Successfully installed mysql-2.8.1-x86-mingw32 1 gem installed Installing ri documentation for mysql-2.8.1-x86-mingw32...

No definition for next_result

No definition for field_name

No definition for field_table

No definition for field_def

No definition for field_type

No definition for field_length

No definition for field_max_length

No definition for field_flags

No definition for field_decimals

No definition for time_inspect

No definition for time_to_s

No definition for time_get_year

No definition for time_get_month

No definition for time_get_day

No definition for time_get_hour

No definition for time_get_minute

No definition for time_get_second

No definition for time_get_neg

No definition for time_get_second_part

No definition for time_set_year

No definition for time_set_month

No definition for time_set_day

No definition for time_set_hour

No definition for time_set_minute

No definition for time_set_second

No definition for time_set_neg

No definition for time_set_second_part

No definition for time_equal

No definition for error_errno

No definition for error_sqlstate Installing RDoc documentation for mysql-2.8...

[lists the same no definition statements again]..."

luislavena commented 14 years ago

Hello,

Seems you're using RubyInstaller, One-Click Installer were the previous generation packages.

The issue you're seeing is about the documentation and has been fixed in the repository.

You can safely ignore those and use the gem.

JediJoel commented 14 years ago

Upgraded to Ruby 1.9.1 using One-Click Installer. "Problem" resolved

luislavena commented 14 years ago

JediJoel, there is no One-Click Installer for 1.9.1

Again, there is no error, the no definition are just warnings of the documentation.

JediJoel commented 14 years ago

It's not one click but I used the Windows installer: http://rubyforge.org/frs/download.php/71078/rubyinstaller-1.9.1-p378.exe

And I understand there is no issue. That's why I put problem in quotes.