Skip to content

Instantly share code, notes, and snippets.

@mistydemeo
Last active June 4, 2020 20:07
Show Gist options
  • Save mistydemeo/8188c2d91f24005fad0004664487ab0a to your computer and use it in GitHub Desktop.
Save mistydemeo/8188c2d91f24005fad0004664487ab0a to your computer and use it in GitHub Desktop.
#!/bin/sh
set -e
type brew 2>&1 >/dev/null || {
echo "This script depends on Homebrew to use its vendored Ruby."
exit 1
}
brew vendor-install ruby
export PATH=/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/current/bin:$PATH
# Ensure we have the latest Rubygems for demo purposes
gem update --system
gem install sorbet
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment