add 'rails_12factor' gem and set ruby version