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