Skip to content

Commit

Permalink
try rustup-init
Browse files Browse the repository at this point in the history
Closes #42.

Signed-off-by: Bugen Zhao <[email protected]>
  • Loading branch information
BugenZhao committed Aug 1, 2024
1 parent 779e6cc commit 16b4f47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Formula/risingwave.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class Risingwave < Formula

def install
# this will install the necessary cargo/rustup toolchain bits in HOMEBREW_CACHE
system "#{Formula["rustup"].bin}/rustup",
system "#{Formula["rustup"].bin}/rustup-init",
"-qy", "--no-modify-path",
"--default-toolchain", "none"
ENV.prepend_path "PATH", HOMEBREW_CACHE/"cargo_cache/bin"
Expand Down

0 comments on commit 16b4f47

Please sign in to comment.