Project

General

Profile

« Previous | Next » 

Revision b5eca9b3

Added by Michael Moll almost 6 years ago

Fixes #23962 - Fix Style/ExpandPathArguments cop

View differences:

config/boot.rb
require 'rubygems'
unless File.exist?(File.expand_path('../../Gemfile.in', __FILE__))
ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
unless File.exist?(File.expand_path('../Gemfile.in', __dir__))
ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../Gemfile', __dir__)
require 'bundler/setup' if File.exist?(ENV['BUNDLE_GEMFILE'])
end

Also available in: Unified diff