Skip to content

Commit

Permalink
Merge pull request #1415 from r7kamura/feature/eval-gemfile
Browse files Browse the repository at this point in the history
Use `Bundler::Dsl#eval_gemfile` to load Gemfile.local
  • Loading branch information
Darhazer authored Oct 20, 2022
2 parents 4e4b287 + adb7a6e commit 532b8b9
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,4 @@ gem 'rubocop-rake', '~> 0.6'
gem 'yard'

local_gemfile = 'Gemfile.local'

if File.exist?(local_gemfile)
eval(File.read(local_gemfile)) # rubocop:disable Security/Eval
end
eval_gemfile(local_gemfile) if File.exist?(local_gemfile)

0 comments on commit 532b8b9

Please sign in to comment.