Rails 4.
Prefer Gemfiles over environment vars.
Merge pull request #5 from robworley/rails4

Rails 4