Add rails_12factor gem and update gems.