Greg Benedict

Thoughts on the web and creativity.

Category: ruby on rails

Installing PostgreSQL on Snow Leopard 10.6

Good news! Whether you are using PostgreSQL for general development, or need a version to match your setup on Heroku, getting PostgreSQL 8.3 installed on Snow Leopard is fairly straight forward. However, you’ll want to make some changes so that it works right for you.

Fixing Ruby Gems, MySQL and Passenger Phusion on Snow Leopard 10.6

One of the first things I noticed after upgrading to Snow Leopard is that my Passenger based sites stopped working. I use this heavily for Rails development, so I needed it fixed. The first thing I tried was reinstalling Passenger Phusion, which led to an error.

Installing Ruby Enterprise Edition and Passenger Phusion on Mac OS X Leopard

Memory usage is getting higher, and my patience waiting on a browser to load changes is getting much lower these days. Installing Ruby Enterprise Edition and Passenger Phusion will help with both! Here’s how we’ll do it:

Indianapolis Ruby Brigade

A lot of effort has been going into transforming IndyRB into a valuable group of talented people. We’re at 116 members and growing! Here are a few ways you can interact with the group: We have a new website up at www.indyrb.org with all the details. We meetup the second Wednesday night of each month. [...]

Why Passenger Phusion Is a Better Hosting Solution Long Term

Since we started hosting Ruby on Rails applications in 2006, many of the pieces have changed. At each step, things became a bit easier and a bit faster. Here’s how things have changed.

Looking for Ruby Developers

Update: This position has been filled. Thanks! My company, TGFI, is currently looking for two full time Ruby developers with LAMP/CSS/XHTML experience in Indy. Even if it’s just a passion on the side, as long as the person has a solid web development background and is eager to learn, that will work. If you know [...]

Outputting Custom Model Attributes With to_json

I’m working on a project where I need to convert a model attribute on the fly from XML to XHTML. However, when I tried to drop it out using to_json on the object array, it didn’t display! Here’s how you can output an attr_reader method. Here is the info from the model: class Section < [...]

A Full Rails Stack With RM-Install on Ubuntu

Updated: I’ve added info to modify the /etc/profile script to load the path vars for all users. Five Runs has just released an installer for automating the installation process of a full rails stack based on either a development or production environment. Included in the install are: Ruby 1.8.6 Rails 1.2.3 MySQL 5.0 SQLite 3.3 [...]

Using Google Apps Mail With Rails for Great Deliverability

If you have your domain email hosted with Google, it’s easy to get much better delivery rates using thier servers than those on your webserver. Here’s how to do it using Ruby on Rails.

Hosting Rails Apps Using Nginx and Mongrel Cluster

The combination of Apache, Lighttpd and FastCGI has been the best option for hosting rails applications over the last few years. While Mongrel arrived on the scene to replace the Lighttpd/FastCGI portion, the performance gains weren’t that great. That was until a few people stumbled upon Nginx, and blazingly fast proxy server that was built for speed and scalability at a Russian hosting company.