In general, no need for bundle exec since we call bundle/setup

This commit is contained in:
Ben Hollis 2013-04-12 20:59:45 -07:00
parent b4c2bf3098
commit b9b17e3ac5
2 changed files with 1 additions and 2 deletions

View file

@ -66,7 +66,6 @@ module Middleman::Cli
if @had_errors && !@debugging if @had_errors && !@debugging
cmd = "middleman build --verbose" cmd = "middleman build --verbose"
cmd = "bundle exec '#{cmd}'" if defined?(Bundler)
self.shell.say "There were errors during this build, re-run with `#{cmd}` to see the full exception." self.shell.say "There were errors during this build, re-run with `#{cmd}` to see the full exception."
end end

View file

@ -34,7 +34,7 @@ module Middleman
begin begin
require 'ruby-prof' require 'ruby-prof'
rescue LoadError rescue LoadError
raise "To use the --profile option, you must 'gem install ruby-prof' (and include it in your Gemfile if running under bundle exec)" raise "To use the --profile option, you must add the 'ruby-prof' gem to your Gemfile"
end end
end end