diff --git a/priv/static/Linux.sh b/priv/static/Linux.sh index 955c9612..0a0b780f 100755 --- a/priv/static/Linux.sh +++ b/priv/static/Linux.sh @@ -88,9 +88,11 @@ function install() { sudo apt-get -y install build-essential autoconf m4 libncurses5-dev libwxgtk3.0-gtk3-dev libwxgtk-webview3.0-gtk3-dev libgl1-mesa-dev libglu1-mesa-dev libpng-dev libssh-dev unixodbc-dev xsltproc fop libxml2-utils libncurses-dev openjdk-11-jdk echo 'KERL_CONFIGURE_OPTIONS="--without-javac"' >>~/.kerlrc mise use -g erlang@$erlang_version + mise reshim ;; "Elixir") mise use -g elixir@$elixir_version + mise reshim ;; "Phoenix") mix local.hex --force @@ -103,6 +105,7 @@ function install() { postgres_bin_path="$HOME/.local/share/mise/installs/postgres/$postgres_version/bin" export PATH="$postgres_bin_path:$PATH" echo "export PATH=\"$postgres_bin_path:\$PATH\"" >>$config_file + mise reshim ;; *) echo "Invalid name argument on install" diff --git a/priv/static/macOS.sh b/priv/static/macOS.sh index 3f8b30d8..ce4630ec 100755 --- a/priv/static/macOS.sh +++ b/priv/static/macOS.sh @@ -87,9 +87,11 @@ function install() { brew install autoconf openssl@1.1 wxwidgets libxslt fop echo 'KERL_CONFIGURE_OPTIONS="--without-javac" --with-ssl=$(brew --prefix openssl@1.1)"' >>~/.kerlrc mise use -g erlang@$erlang_version + mise reshim ;; "Elixir") mise use -g elixir@$elixir_version + mise reshim ;; "Phoenix") mix local.hex --force @@ -101,6 +103,7 @@ function install() { postgres_bin_path="$HOME/.local/share/mise/installs/postgres/$postgres_version/bin" export PATH="$postgres_bin_path:$PATH" echo "export PATH=\"$postgres_bin_path:\$PATH\"" >>$config_file + mise reshim ;; *) echo "Invalid name argument on install" diff --git a/test/scripts/Makefile b/test/scripts/Makefile index e3aecb30..f4133d5d 100644 --- a/test/scripts/Makefile +++ b/test/scripts/Makefile @@ -6,7 +6,7 @@ SHELL := $(shell echo $$SHELL) serve: # initdb -D ~/pgdata -U postgres # pg_ctl start -D ~/pgdata - echo "Debug PATH: $PATH" + echo "Debug PATH: $$PATH" mix phx.new --no-install phx_tools_test cd phx_tools_test && mix local.rebar --force && mix setup cd phx_tools_test && elixir --erl "-detached" -S mix phx.server