I think would be better use the update instead a create action, makes more sense since the Gemfile is already created in the Rails app