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
|
||||
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."
|
||||
end
|
||||
|
||||
|
|
|
@ -34,7 +34,7 @@ module Middleman
|
|||
begin
|
||||
require 'ruby-prof'
|
||||
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
|
||||
|
||||
|
|
Loading…
Reference in a new issue