To sum this up, gem install mysql crashes when looking for version.h.
This is happening after a fresh install of Ruby, Ruby Gems, and the
Mysql gem. Shouldn’t a fresh install of ruby create version.h and
place it in the correct directory?

To sum this up, gem install mysql crashes when looking for version.h.
This is happening after a fresh install of Ruby, Ruby Gems, and the
Mysql gem. Shouldn’t a fresh install of ruby create version.h and
place it in the correct directory?
I think version.h disappeared in ruby 1.9. Looks like it’s trying to
build a version of the mysql gem that isn’t compatible with ruby 1.9
(the other errors indicate that too) - i think ruby 1.9.1 needs 2.8.1
(http://rubyforge.org/frs/?group_id=4550)

produce the same output. neither mention mysql. after running make
install on the mysql tar, that should have added it to the gems list
automatically? Is there another step I’m missing? Here’s me
attempting to the latest version of mysql from the remote repository.

I believe I did install gems myself at some point. Although not after
installing 1.9.

fine, just worried you might have installed a version of gem for 1.8
on top of the version of gem that came with 1.9

produce the same output. neither mention mysql. after running make
install on the mysql tar, that should have added it to the gems list
automatically? Is there another step I’m missing? Here’s me
attempting to the latest version of mysql from the remote repository.

make install on the mysql tar might have installed it not as a gem
(but there might be rake files in there for building it as a gem)

There is no rake file in the source directory. I think I’m about
ready to just give up on this problem. Maybe, upgrade my freebsd
system like i’ve been needing to for years and start using the ports
collection…

I think version.h disappeared in ruby 1.9. Looks like it’s trying to
build a version of the mysql gem that isn’t compatible with ruby 1.9
(the other errors indicate that too) - i think ruby 1.9.1 needs 2.8.1
(http://rubyforge.org/frs/?group_id=4550)

you need to install mysql client headers first, and then [since it’s
ruby 1.9] you’ll need a newer version than what the gem provides
either download 2.8.1 or a different gemhttp://isitruby19.com/mysql
GL.
-r