Hello, I''ve been doing some of my rails development on Windows (I know, there''s my first problem :) I had a strange problem after upgrading rails to 0.14.1 that kept giving me an error like: ruby: No such file to load -- ubygems (LoadError) After some searching, I found recommendations to unset RUBYOPT and reinstall rubygems. So I did it. After doing that, everything seemed to work fine except that attempts to connect to the mysql database resulted in an error saying that /tmp/mysql.sock didn''t exist. I was able to fix these by using 127.0.0.1 instead of localhost in my database.yml, but I''d like to know if anyone has a suggestion for what I should fix to make the local socket method work again. Thanks, Carl
Never mind. I had switched my PATH around so that the cygwin version of ruby was getting called before the win32 version. Sorry to trouble the list. On 10/26/05, Carl Youngblood <carl-MJzSGySFh6ZUfOvSQQQpYw@public.gmane.org> wrote:> I had a strange problem after upgrading rails to 0.14.1 that kept > giving me an error like: > > ruby: No such file to load -- ubygems (LoadError) > > After some searching, I found recommendations to unset RUBYOPT and > reinstall rubygems. So I did it. After doing that, everything seemed > to work fine except that attempts to connect to the mysql database > resulted in an error saying that /tmp/mysql.sock didn''t exist. I was > able to fix these by using 127.0.0.1 instead of localhost in my > database.yml, but I''d like to know if anyone has a suggestion for what > I should fix to make the local socket method work again.