Skip to content

Instantly share code, notes, and snippets.

@brodock
Last active March 19, 2018 23:31
Show Gist options
  • Save brodock/8b841ab10ffe2841e8ef9a3b3bbde406 to your computer and use it in GitHub Desktop.
Save brodock/8b841ab10ffe2841e8ef9a3b3bbde406 to your computer and use it in GitHub Desktop.
Ruby no Mac em algumas linhas
# 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'
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