G
Greg Willits
OS X 10.4.10
ruby 1.8.4 (ruby installed using http://rubyosx.rubyforge.org/)
Trying to install riuby-mysql 2.7.4
Every blog & refc I can find doesn't work.
Using gem fails. Tried all the suggestions found on blogs.
Using the native package from tmtm.org fails, but I get further with it.
One tip I picked up which helps the native install to get further along
was to add "#define ulong unsigned long" at the top of the mysql.c file
(which does not exist with the gem install).
after I make install I get this response
/usr/bin/install -c -m 0755 mysql.bundle
/usr/local/lib/ruby/site_ruby/1.8/universal-darwin8.0
then I try to do a simple two liner just to see if I get complaints
#! /usr/local/bin/ruby
require 'mysql'
and indeed I get this complaint:
/usr/local/lib/ruby/site_ruby/1.8/universal-darwin8.0/mysql.bundle:
Failed to load
/usr/local/lib/ruby/site_ruby/1.8/universal-darwin8.0/mysql.bundle
(LoadError)
I'm no C geek, so I have no idea what to try next.
Ideas?
-- gw
ruby 1.8.4 (ruby installed using http://rubyosx.rubyforge.org/)
Trying to install riuby-mysql 2.7.4
Every blog & refc I can find doesn't work.
Using gem fails. Tried all the suggestions found on blogs.
Using the native package from tmtm.org fails, but I get further with it.
One tip I picked up which helps the native install to get further along
was to add "#define ulong unsigned long" at the top of the mysql.c file
(which does not exist with the gem install).
after I make install I get this response
/usr/bin/install -c -m 0755 mysql.bundle
/usr/local/lib/ruby/site_ruby/1.8/universal-darwin8.0
then I try to do a simple two liner just to see if I get complaints
#! /usr/local/bin/ruby
require 'mysql'
and indeed I get this complaint:
/usr/local/lib/ruby/site_ruby/1.8/universal-darwin8.0/mysql.bundle:
Failed to load
/usr/local/lib/ruby/site_ruby/1.8/universal-darwin8.0/mysql.bundle
(LoadError)
I'm no C geek, so I have no idea what to try next.
Ideas?
-- gw