Update Gemfile accordingly and run bundle install. Update the gitignore file to work properly.