the two halves of my tasty brain

Helpful Steps to Eat an Evening

Why spend our free time doing things we enjoy when it could be better spent fighting with calculating machines?

  1. Update rubygems via gem update --system, only to discover after the fact that RubyGems 1.4 is not compatible with Ruby 1.9.x.
  2. Uninstall all gems, all Ubuntu ruby packages and then rm -rf /usr/lib/ruby/ just for good measure.
  3. Black out again, wake up in a car that is Tokyo drifting everywhere
  4. Install RVM
  5. Re-configure capistrano to use the RVM plugin
  6. Get the first successful cap deploy of the evening, but we’re running the production site on a sqlite database.
  7. Add gem 'pg' to the Gemfile
  8. Fight with getting bundle to update Gemfile.lock until I remember to add the MacPorts’ postgres install directory to PATH and export ARCHFLAGS="-arch x86_64"
  9. Re-cap deploy, Re-cap deploy:migrate.
  10. Here we are.

On the plus side, the newest version of Phusion Passenger runs with RVM like a god damned champ.