use regex for insert_into_file Gemfile before gem 'rails', or else injects before commented out gem 'rails', git: ...