Last active
March 19, 2018 23:31
-
-
Save brodock/8b841ab10ffe2841e8ef9a3b3bbde406 to your computer and use it in GitHub Desktop.
Ruby no Mac em algumas linhas
This file contains hidden or 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
# create path and copy redis.conf to the correct path | |
redis: exec redis-server /Users/youruser/projects/yourproject/dev/redis/redis.conf | |
# path/to/postgres/initdb --locale=C -E utf8 /Users/youruser/projects/yourproject/dev/postgresql/data | |
postgresql: exec postgres -D /Users/youruser/projects/yourproject/dev/postgresql/data -k /Users/youruser/projects/yourproject/dev/postgresql -h 'localhost' |
This file contains hidden or 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
xcode-select --install | |
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | |
brew install git libxml2 postgresql redis | |
gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 7D2BAF1CF37B13E2069D6956105BD0E739499BDB | |
\curl -sSL https://get.rvm.io | bash -s stable --rails --ruby=2.4.3 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment