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