Files
vim-lsp-settings-mirror/installer/install-solargraph.sh
ichizok 759bf16be6 Fix warnings about the deprecated options of bundle
Use "bundle config set --local" to set "path" and "without" flags.
2022-01-25 15:40:37 +09:00

18 lines
368 B
Bash
Executable File

#!/usr/bin/env bash
set -e
git clone --depth=1 https://github.com/castwide/solargraph .
bundle config set --local path vendor/bundle
bundle config set --local without development
bundle install
cat <<EOF >solargraph
#!/usr/bin/env bash
DIR=\$(cd \$(dirname \$0); pwd)
BUNDLE_GEMFILE=\$DIR/Gemfile bundle exec ruby \$DIR/bin/solargraph \$*
EOF
chmod +x solargraph