lib/guard/rails/runner.rb in guard-rails-0.5.3 vs lib/guard/rails/runner.rb in guard-rails-0.6.0
- old
+ new
@@ -101,10 +101,14 @@
yield
end
end
def run_rails_command!
- without_bundler_env { system(environment, build_command) }
+ if options[:CLI] || options[:zeus]
+ without_bundler_env { system(environment, build_command) }
+ else
+ system(environment, build_command)
+ end
end
def has_pid?
File.file?(pid_file)
end