Strip version numbers from gemfile.