I am trying to make my sass work, it was working fine but its has been a while since i worked on it, so today i wanted sass to watch my folder but that watch command didn't work. So i tired to check ruby version by
ruby -version
and i got reply
ruby 2.0.0p648 (2015-12-16 revision 53162) [universal.x86_64-darwin16] -e:1:in
<main>': undefined local variable or method
rsion' for main:Object (NameError)
But when i do gem install sass
it gives me error
While executing gem ... (Gem::FilePermissionError) You don't have write permissions for the /Library/Ruby/Gems/2.0.0 directory.
If i am not wrong, its telling of permission but i am the admin and i tried same command with sudo