aboutsummaryrefslogtreecommitdiff
path: root/installer
diff options
context:
space:
mode:
Diffstat (limited to 'installer')
-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