Why spend our free time doing things we enjoy when it could be better spent fighting with calculating machines?
- Update rubygems via
gem update --system
, only to discover after the fact that RubyGems 1.4 is not compatible with Ruby 1.9.x. - Uninstall all gems, all Ubuntu ruby packages and then
rm -rf /usr/lib/ruby/
just for good measure. - Black out again, wake up in a car that is Tokyo drifting everywhere
- Install RVM
- Re-configure capistrano to use the RVM plugin
- Get the first successful
cap deploy
of the evening, but we’re running the production site on a sqlite database. - Add
gem 'pg'
to theGemfile
- Fight with getting bundle to update
Gemfile.lock
until I remember to add the MacPorts’ postgres install directory toPATH
and exportARCHFLAGS="-arch x86_64"
- Re-
cap deploy
, Re-cap deploy:migrate
. - Here we are.
On the plus side, the newest version of Phusion Passenger runs with RVM like a god damned champ.