Removed check for Gemfile.lock; added check for vendor directory.