In general, no need for bundle exec since we call bundle/setup
This commit is contained in:
parent
b4c2bf3098
commit
b9b17e3ac5
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue