Skip to content

Commit

Permalink
Merge pull request #14908 from bdunne/deprecate_gemfile_dev_rb
Browse files Browse the repository at this point in the history
It's time to deprecate Gemfile.dev.rb
  • Loading branch information
jrafanie authored May 2, 2017
2 parents 8340d21 + 3a19899 commit d6cccb9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,10 @@ end
# developers may not need or may not easily install, such as rails-dev-boost,
# any git based gem, and compiled gems like rbtrace or memprof.
dev_gemfile = File.expand_path("Gemfile.dev.rb", __dir__)
eval_gemfile(dev_gemfile) if File.exist?(dev_gemfile)
if File.exist?(dev_gemfile)
Bundler::UI::Shell.new.warn "** Gemfile.dev.rb deprecated, please move it to bundler.d/"
eval_gemfile(dev_gemfile)
end

# Load other additional Gemfiles
Dir.glob("bundler.d/*.rb").each { |f| eval_gemfile(File.expand_path(f, __dir__)) }

0 comments on commit d6cccb9

Please sign in to comment.