Posted by Scott on Feb 18th, 2008
Do you need your monthly dose of hanging out with Ruby and Rails developers and learning cool stuff? Well lucky for you, the next NHRuby.org meeting is in just a couple of days. Nick and I will be giving “lightning talks” on a number of topics. One of mine will be on writing an AIM bot to send you instant messages from your web application. Meeting details and directions can be found on the wiki.
Posted by Scott on Feb 17th, 2008
I recently updated my Rails deployment server from CentOS 4 to CentOS 5, and immediately ran into the following error when deploying my apps using vlad:
sudo: sorry, you must have a tty to run sudo
Thus apache wasn’t being restarted after my mongrel instances. It turns out that RHEL/CentOS 5 includes added restrictions in its default sudo configuration. Simply comment out the following line in /etc/sudoers:
#Defaults requiretty
to resolve the problem.