Use File.file? when checking for Gemfile.lock
Generate bin/ scripts using File.file? to check for Gemfile.lock