packaging/homebrew/theme_check.base.rb in theme-check-0.2.2 vs packaging/homebrew/theme_check.base.rb in theme-check-0.3.0

- old
+ new

@@ -59,15 +59,19 @@ # which mess with Ruby's own compiler config when building native extensions if defined?(HOMEBREW_SHIMS_PATH) ENV['PATH'] = ENV['PATH'].sub(HOMEBREW_SHIMS_PATH.to_s, '/usr/local/bin') end - system("#{ruby_bin}/gem", "install", cached_download, - "--no-document", - "--no-wrapper", - "--no-user-install", - "--install-dir", prefix, - "--bindir", bin) + system( + "#{ruby_bin}/gem", + "install", + cached_download, + "--no-document", + "--no-wrapper", + "--no-user-install", + "--install-dir", prefix, + "--bindir", bin + ) raise "gem install 'theme-check' failed with status #{$CHILD_STATUS.exitstatus}" unless $CHILD_STATUS.success? bin.rmtree if bin.exist? bin.mkpath