From: Jim Burgess Date: 2010-09-07T17:45:40+09:00 Subject: Re: Problems using the Mysql gem Hi, Thanks for the replies. After much hair pulling and messing around with environment variables I finally figured out what was going wrong. It is quite embarrassing, but I'll post it here as it might help someone else. The problem was that I'd actually called the file I was working on 'mysql.rb'. As the require 'mysql' line at the beginning of my code looks in the current directory first, my code was just including itself, and not the gem I wanted. Doh! Thanks again for your help. -- Posted via http://www.ruby-forum.com/.