Edit a gem for a given name from Gemfile.