amended rails_12factor gem