Friendlier bundle install step
This commit is contained in:
parent
b1ba94cf22
commit
24930b094d
|
@ -59,8 +59,9 @@ module Middleman::Templates
|
|||
return unless options[:bundler]
|
||||
template "shared/Gemfile.tt", File.join(location, "Gemfile")
|
||||
|
||||
say_status :run, "bundle install"
|
||||
print `cd #{location} && "#{Gem.ruby}" -rubygems "#{Gem.bin_path('bundler', 'bundle')}" install`
|
||||
inside(location) do
|
||||
run('bundle install', :capture => true)
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue