Skip to content

Instantly share code, notes, and snippets.

@8bitDesigner
Created November 27, 2013 21:18
Show Gist options
  • Select an option

  • Save 8bitDesigner/7683366 to your computer and use it in GitHub Desktop.

Select an option

Save 8bitDesigner/7683366 to your computer and use it in GitHub Desktop.
Booting up a fresh Ruby dev environment
# Prep /usr/local
sudo chown $USER:admin /usr/local/
# Install homebrew
ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go/install)"
brew doctor
# Install git, imagemagick, redis, mongodb, postgres
brew install git imagemagick redis mongo postgres
ln -sfv /usr/local/opt/redis/*.plist ~/Library/LaunchAgents
launchctl load ~/Library/LaunchAgents/homebrew.mxcl.redis.plist
ln -sfv /usr/local/opt/mongodb/*.plist ~/Library/LaunchAgents
launchctl load ~/Library/LaunchAgents/homebrew.mxcl.mongodb.plist
ln -sfv /usr/local/opt/postgresql/*.plist ~/Library/LaunchAgents
launchctl load ~/Library/LaunchAgents/homebrew.mxcl.postgresql.plist
# Install pow & Powder
curl get.pow.cx | sh
gem install powder
# Install RVM and Ruby 2.0.0
curl -L https://get.rvm.io | bash -s stable --ruby=2.0.0
# Install the heroku toolbelt
# Click the big purple "install" button on https://toolbelt.heroku.com/
# Install NodeJS
# Click the big green "install" button on http://nodejs.org/
sudo chown -R $USER:admin /usr/local/lib/node_modules
npm i -g coffee-script
npm i -g bower
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment