aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorippachi <ivalice1218@gmail.com>2019-12-22 13:28:51 +0000
committerippachi <ivalice1218@gmail.com>2019-12-22 13:28:51 +0000
commitcd823e900a07f23c63b772e48387a1183f4b70ec (patch)
treea200ec453e8def0ad4162934cc41265ebad6aa50
parente35987fe446aeadab074b6fce1ac47db447344e1 (diff)
downloadvim-lsp-settings-cd823e900a07f23c63b772e48387a1183f4b70ec.tar.gz
vim-lsp-settings-cd823e900a07f23c63b772e48387a1183f4b70ec.tar.bz2
vim-lsp-settings-cd823e900a07f23c63b772e48387a1183f4b70ec.zip
Fix solargraph installer
Remove 'call' and change directory calling 'bundle exec'
-rwxr-xr-xinstaller/install-solargraph.sh4
1 files 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 <<EOF > 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