Skip to content

Instantly share code, notes, and snippets.

@daguar
Last active September 18, 2018 03:39
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save daguar/5368778 to your computer and use it in GitHub Desktop.
Save daguar/5368778 to your computer and use it in GitHub Desktop.
An alternative approach to installing Drake on Mac OS X
# I bumped into some problems installing Drake ( https://github.com/Factual/drake ) on OSX, so here's what I did:
# 1. Follow the installation instructions here up through "Run Drake from the uberjar":
# https://github.com/Factual/drake/blob/251a22b27b5ded1fff522f39f06d3e06c77daf74/README.md
# (This is the specific README version I used.)
# 2. Move the 'drake' directory to Applications:
mv drake/ ~/Applications/
# 3. Install Drip ( https://github.com/flatland/drip ) for speedier load time.
brew install drip
# (If you don't want to use Homebrew, install another way per Drip's README.)
# 4. Add the below line to your .bashrc or .zshrc file:
alias drake='drip -jar ~/Applications/drake/target/drake.jar'
# 5. Then refresh your rc file:
source ~/.zshrc
# or
source ~/.bashrc
# 6. Then test it out!
drake --version
# If you run into problems, feel free to comment here or on Twitter (@allafarce).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment