$ xcode-select --install$ ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
$ brew doctor$ brew tap caskroom/cask$ brew cask install google-chrome firefox iterm2 sublime-text caffeine google-drive github-desktop sequel-pro spotify imageoptim skype slack superduper qlmarkdown$ brew install rbenv
$ rbenv initAdd rbenv to bash
$ echo 'if which rbenv > /dev/null; then eval "$(rbenv init -)"; fi' >> ~/.bash_profile
$ source ~/.bash_profileInstall Ruby 2.4.1 and set it as the default version
$ rbenv install 2.4.1
$ rbenv global 2.4.1
$ ruby -v
# ruby 2.4.1Download Java SDK from oracle and install it
http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html
Install maven (mvm command)
brew install mavenInstall IntelliJ Idea Community Edition
brew cask install intellij-idea-ce$ git clone --depth=1 https://github.com/Bash-it/bash-it.git ~/.bash_it
$ ~/.bash_it/install.sh
$ bash-it enable plugin git ruby rbenv$ gem install scss-lint
$ gem install rubocop
$ gem install haml$ brew install node
$ npm install -g jshint
$ npm install -g coffeelint$ brew cask install postgres
$ brew cask install posticoInstall pg-Gem
$ gem install pg -- --with-pg-config=/Applications/Postgres.app/Contents/Versions/latest/bin/pg_config$ brew install mysql$ brew install imagemagickUseful Gems
$ gem install bundler
$ gem install byebug
$ gem install mysql2echo "max_allowed_packet=256M" >> /usr/local/etc/my.cnf
mysql.server restart