Install Compass in OSX El Capitan

After getting this error:


▶ sudo gem install compass
ERROR: While executing gem ... (Errno::EPERM) Operation not permitted - /usr/bin/sass


It can be fixed with:


▶ brew install ruby
▶ sudo gem install -n /usr/local/bin compass