From: snacktime Date: 2006-06-28T05:21:30+09:00 Subject: gem update problem with mysql Every time I run gem update, it prompts me to install mysql. Even after doing an uninstall and install again, I get the same thing every time. This is with the latest version of ruby and gems. gem update --debug Exception `Errno::ENOENT' at /usr/local/lib/ruby/site_ruby/1.8/rubygems/config_file.rb:12 - No such file or directory - /root/.gemrc Upgrading installed gems... Attempting remote upgrade of mysql Attempting remote installation of 'mysql' Select which gem to install for your platform (i386-freebsd6) 1. mysql 2.7.1 (mswin32) 2. mysql 2.7 (ruby) 3. mysql 2.6 (ruby) 4. mysql 2.5.1 (ruby) 5. Cancel installation > 2 Exception `LoadError' at /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21 - no such file to load -- Win32API Exception `LoadError' at /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:29 - no such file to load -- Win32API Exception `Errno::EEXIST' at /usr/local/lib/ruby/1.8/fileutils.rb:243 - File exists - /usr/local/lib/ruby/gems/1.8/gems/mysql-2.7 Exception `Errno::EEXIST' at /usr/local/lib/ruby/1.8/fileutils.rb:243 - File exists - . Exception `Errno::EEXIST' at /usr/local/lib/ruby/1.8/fileutils.rb:243 - File exists - . Exception `Errno::EEXIST' at /usr/local/lib/ruby/1.8/fileutils.rb:243 - File exists - . Exception `Errno::EEXIST' at /usr/local/lib/ruby/1.8/fileutils.rb:243 - File exists - . Exception `Errno::EEXIST' at /usr/local/lib/ruby/1.8/fileutils.rb:243 - File exists - . Exception `Errno::EEXIST' at /usr/local/lib/ruby/1.8/fileutils.rb:243 - File exists - . Exception `Errno::EEXIST' at /usr/local/lib/ruby/1.8/fileutils.rb:243 - File exists - . Exception `Errno::EEXIST' at /usr/local/lib/ruby/1.8/fileutils.rb:243 - File exists - . Exception `Errno::EEXIST' at /usr/local/lib/ruby/1.8/fileutils.rb:243 - File exists - . Building native extensions. This could take a while... ruby extconf.rb update --debug checking for mysql_query() in -lmysqlclient... yes checking for mysql_ssl_set()... yes checking for mysql.h... no checking for mysql/mysql.h... yes creating Makefile make cc -fPIC -O -pipe -march=pentiumpro -fPIC -I. -I/usr/local/lib/ruby/1.8/i386-freebsd6 -I/usr/local/lib/ruby/1.8/i386-freebsd6 -I. -DHAVE_MYSQL_SSL_SET -DHAVE_MYSQL_MYSQL_H -I/usr/local/include -c mysql.c cc -shared -Wl,-soname,mysql.so -L'/usr/local/lib' -Wl,-R'/usr/local/lib' -L'/usr/local/lib' -Wl,-R'/usr/local/lib' -L'/usr/local/lib/mysql' -Wl,-R'/usr/local/lib/mysql' -o mysql.so mysql.o -Wl,-R -Wl,/usr/local/lib -L/usr/local/lib -L. -lruby18 -lmysqlclient -lcrypt -lm -pthread -lc make install /usr/bin/install -c -o root -g wheel -m 0755 mysql.so /usr/local/lib/ruby/gems/1.8/gems/mysql-2.7/lib Successfully installed mysql-2.7 Gems: [mysql] updated removing /tmp/open-uri45500.0...done