On Tue, Dec 08, 2020 at 03:05:04PM +0800, Hu Xuejiao wrote:
Signed-off-by: Hu XueJiao 1034502035@qq.com
sbin/install-dependencies.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/sbin/install-dependencies.sh b/sbin/install-dependencies.sh index 7df3652f..0ea852c7 100644 --- a/sbin/install-dependencies.sh +++ b/sbin/install-dependencies.sh @@ -1,6 +1,7 @@ #!/bin/bash
. lib/env.sh +. lin/set-env.sh
# choose install function base on # DISTRIBUTION @@ -30,8 +31,7 @@ esac mac_dep() { brew install ruby
- echo "export PATH=/usr/local/opt/ruby/bin:$PATH" >> $(shell_profile)
- source $(shell_profile)
- submit_env "export PATH=/usr/local/opt/ruby/bin:$PATH"
^------- please put parameters inside "submit_env" function.
Thanks, Liushaofei
gem install git activesupport rest-client }
-- 2.23.0