Dont add lock file to the ignore. It is critical part of the bundler. Here is an example of the article talking about http://viget.com/extend/bundler-best-practices