Forum: Ruby gem update mysql issue

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
E68d4935996d7f13cdb33ac6dc50acb7?d=identicon&s=25 Jason Sallis (jsallis)
on 2006-05-06 18:53
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)
 1. mysql 2.7.2006.04.21 (mswin32)
 2. mysql 2.7 (ruby)
 3. mysql 2.6 (ruby)
 4. mysql 2.5.1 (ruby)
 5. 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?
E6c3a10d660173248326f32be9f1d42c?d=identicon&s=25 Derek Chesterfield (Guest)
on 2006-05-06 21:25
(Received via mailing list)
Are you doing 'sudo gem update mysql -- --with-mysql-dir=/usr/local/
mysql' ?
E68d4935996d7f13cdb33ac6dc50acb7?d=identicon&s=25 Jason Sallis (jsallis)
on 2006-05-07 01:33
No, I'm simply doing a 'sudo gem update' to update all installed gems.
If I attempt a full 'sudo gem update mysql --
--with-mysql-dir=/usr/local/mysql', I get the same result.  The point is
that I already have 2.7 installed and I don't need to install it,
butit's like gem won't drop it off the list once it is installed.
This topic is locked and can not be replied to.