Sign in through GitHub

Please read for an updated status on RailsCasts:

Learn more or hide this

Riccardo Tacconi's Profile

GitHub User: rtacconi

Site: http://riccardotacconi.blogspot.com/

Comments by Riccardo Tacconi

Avatar

I am using:

ruby
CONFIG = YAML.load(File.read(File.join(File.dirname(__FILE__), 'application.yml')))[Rails.env]

It is one line not two and it does not use slashes for OS compatibility.

Avatar

I would be nice to see a Rails setup using Chef and/or Puppet.