aboutsummaryrefslogtreecommitdiff
path: root/installer/install-solargraph.sh
diff options
context:
space:
mode:
authormattn <mattn.jp@gmail.com>2019-12-22 23:47:31 +0900
committerGitHub <noreply@github.com>2019-12-22 23:47:31 +0900
commit6dd63461377c378f57fd034655c058bd5668041c (patch)
treea200ec453e8def0ad4162934cc41265ebad6aa50 /installer/install-solargraph.sh
parente35987fe446aeadab074b6fce1ac47db447344e1 (diff)
parentcd823e900a07f23c63b772e48387a1183f4b70ec (diff)
downloadvim-lsp-settings-6dd63461377c378f57fd034655c058bd5668041c.tar.gz
vim-lsp-settings-6dd63461377c378f57fd034655c058bd5668041c.tar.bz2
vim-lsp-settings-6dd63461377c378f57fd034655c058bd5668041c.zip
Merge pull request #8 from ippachi/fix-solargrah-install-command
Fix solargraph installer
Diffstat (limited to 'installer/install-solargraph.sh')
-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