From bdc64cfaefde89ee162ae7461b7ed6a9519b6202 Mon Sep 17 00:00:00 2001 From: Theodore Bauer Date: Sat, 27 Apr 2024 17:51:59 +0000 Subject: [PATCH] Remove check for cargo --- Formula/up.rb | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/Formula/up.rb b/Formula/up.rb index 623b43a..acbf85d 100755 --- a/Formula/up.rb +++ b/Formula/up.rb @@ -10,13 +10,13 @@ def install "#{HOMEBREW_PREFIX}/opt/rust/bin" # Possible Homebrew Rust location ] - cargo_path = potential_cargo_paths.find { |path| File.exist? "#{path}/cargo" } - unless cargo_path - odie <<~EOS - Cargo (the Rust package manager) is required to install 'up'. - Please install Rust from: https://www.rust-lang.org/tools/install - EOS - end + # cargo_path = potential_cargo_paths.find { |path| File.exist? "#{path}/cargo" } + # unless cargo_path + # odie <<~EOS + # Cargo (the Rust package manager) is required to install 'up'. + # Please install Rust from: https://www.rust-lang.org/tools/install + # EOS + # end ENV["PATH"] = "#{cargo_path}:#{ENV['PATH']}"