Nick Karnik

Twitter


Errors

/!\ FAILSAFE /!\ - Mystereous Error Message

If you have ever seen the following error message after adding some functionality: /!\ FAILSAFE /!\ Thu Apr 24 18:25:01 -0700 2008 Status: 500 Internal Server Error wrong number of arguments (1 for 0) You probably added a method called Send which is causing this error to be thrown. The…

ERRNO::EPIPE -> Broken Pipe

Have you ever encountered a ‘Broken Pipe’ error? It happens when MySQL closes the open connection after 8 hours (By default) or upon restarting MySQL. I tried various solutions (None of these worked): ActiveRecord::Base.verification_timeout = 14400 Stale database connections should be handled gracefully Irc.freenode.net – #RubyOnRails (Totally…

Installing MySQL Extensions for Ruby

When I tried ‘gem install mysql’, I got the following error:ruby extconf.rb install mysql 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…