when gem install trello_cli
yields permission errors:
ERROR: While executing gem ... (Gem::FilePermissionError)
You don't have write permissions for the /Library/Ruby/Gems/2.0.0 directory.
you should download another ruby and use that as the default.
brew install ruby
find the version:
cd /usr/local/Cellar/ruby
ls
get the bin
folder path:
cd /usr/local/Cellar/ruby/2.2.3/bin
pwd | pbcopy
and attach it to your PATH
in your .bash_profile
:
export PATH="/usr/local/Cellar/ruby/2.2.3/bin:$PATH"
then source that shit:
source ~/.bash_profile
and get on with life:
gem install trello_cli