From cd823e900a07f23c63b772e48387a1183f4b70ec Mon Sep 17 00:00:00 2001 From: ippachi Date: Sun, 22 Dec 2019 13:28:51 +0000 Subject: Fix solargraph installer Remove 'call' and change directory calling 'bundle exec' --- installer/install-solargraph.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/installer/install-solargraph.sh b/installer/install-solargraph.sh index 2171acc..003234a 100755 --- a/installer/install-solargraph.sh +++ b/installer/install-solargraph.sh @@ -7,13 +7,13 @@ cd $(dirname $0) mkdir ../servers/solargraph cd ../servers/solargraph git clone "https://github.com/castwide/solargraph" . -call bundle install --path vendor/bundle +bundle install --path vendor/bundle cat < solargraph #!/bin/sh DIR=\$(cd \$(dirname \$0); pwd) -bundle exec ruby \$DIR/bin/solargraph stdio +cd $DIR && bundle exec ruby \$DIR/bin/solargraph stdio EOF chmod +x solargraph -- cgit v1.2.3-54-g00ecf