mirror of
https://github.com/middleman/middleman.git
synced 2022-11-09 12:20:27 -05:00
Fixes #1723
This commit is contained in:
parent
1605f425e8
commit
a7631b2f0d
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ module Middleman
|
|||
|
||||
# Set BUNDLE_GEMFILE and run Bundler setup. Raises an exception if there is no Gemfile
|
||||
def setup_bundler
|
||||
ENV['BUNDLE_GEMFILE'] ||= findup('Gemfile', ENV['MM_ROOT'])
|
||||
ENV['BUNDLE_GEMFILE'] ||= File.join(findup('Gemfile', ENV['MM_ROOT']), "Gemfile")
|
||||
|
||||
unless File.exist?(ENV['BUNDLE_GEMFILE'])
|
||||
ENV['BUNDLE_GEMFILE'] = File.expand_path('../../../../Gemfile', __FILE__)
|
||||
|
|
Loading…
Reference in a new issue