modify gemfile and application.rb