Friendlier bundle install step

This commit is contained in:
Ben Hollis 2012-04-09 00:03:40 -07:00
parent b1ba94cf22
commit 24930b094d

View file

@ -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