mirror of
https://github.com/puma/puma.git
synced 2022-11-09 13:48:40 -05:00
Allow cluster.rb to work with gems.rb too
This commit is contained in:
parent
4ca81231c4
commit
6a418f239e
1 changed files with 6 additions and 2 deletions
|
@ -219,8 +219,12 @@ module Puma
|
|||
|
||||
# If we're not running under a Bundler context, then
|
||||
# report the info about the context we will be using
|
||||
if !ENV['BUNDLE_GEMFILE'] and File.exist?("Gemfile")
|
||||
log "+ Gemfile in context: #{File.expand_path("Gemfile")}"
|
||||
if !ENV['BUNDLE_GEMFILE']
|
||||
if File.exist?("Gemfile")
|
||||
log "+ Gemfile in context: #{File.expand_path("Gemfile")}"
|
||||
elsif File.exist?("gems.rb")
|
||||
log "+ Gemfile in context: #{File.expand_path("gems.rb")}"
|
||||
end
|
||||
end
|
||||
|
||||
# Invoke any worker boot hooks so they can get
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue