Created
July 15, 2014 13:16
-
-
Save Epigene/1e45057269644c2be5ce to your computer and use it in GitHub Desktop.
Spring installation cheatsheet
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Installing Spring | |
On master branch: | |
1. $ bundle install | |
2. $ brew install direnv | |
3. edit shell config (~/.bashrc / .zshrc / config.fish), add at the very end: | |
eval "$(direnv hook bash)" | |
eval "$(direnv hook $0)" # for zsh | |
eval (direnv hook fish) # for fish | |
4. $ cd ~/project | |
5. $ direnv allow | |
6. $ echo "PATH_add bin" > .envrc | |
7. $ direnv allow #yup, again | |
7. $ echo 'export PATH=$PWD/bin:$PATH' > .envrc | |
8. $ bundle exec spring binstub --all | |
Further at https://github.com/zimbatm/direnv | |
Video tutorial at https://asciinema.org/a/4413 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment