add 12 factor gem and set ruby version