I’m trying to do a gem update on my OSX box, and, although it’s always
worked fine, lately every time I attempt to do an update , I get faced
with the following:
sudo gem update
Upgrading installed gems…
Attempting remote upgrade of mysql
Attempting remote installation of ‘mysql’
Select which gem to install for your platform (powerpc-darwin8.0)
- mysql 2.7.2006.04.21 (mswin32)
- mysql 2.7 (ruby)
- mysql 2.6 (ruby)
- mysql 2.5.1 (ruby)
- Cancel installation
I choose 2, which is the same gem already installed on my machine, and I
get this:
Building native extensions. This could take a while…
ruby extconf.rb update
checking for mysql_query() in -lmysqlclient… no
checking for main() in -lm… yes
checking for mysql_query() in -lmysqlclient… no
checking for main() in -lz… yes
checking for mysql_query() in -lmysqlclient… no
checking for main() in -lsocket… no
checking for mysql_query() in -lmysqlclient… no
checking for main() in -lnsl… no
checking for mysql_query() in -lmysqlclient… no
make
make: Nothing to be done for `all’.
make install
install -c -p -m 0755 mysql.bundle
/usr/lib/ruby/gems/1.8/gems/mysql-2.7/lib
Successfully installed mysql-2.7
Gems: [mysql] updated
The next time I try to do an update, I get it again! It won’t seem to
go away! Any ideas?