Gemfile.lock -- when is it appropriate to delete

I just moved a project to a different workstation, and found that I couldn't bundle install because "devise v- 1.4.0 couldn't be found anywhere". Deleting the Gemfile.lock made bundler find everything -- and newer versions in some cases. This strikes me as a very big gun, and I did it knowing I have git and the version on my other computer to work with, and I just want to get some stuff done.

What's a better practice?



fix versions inside Gemfile then