I just felt like learning haml so first installed ruby using my terminal
this is my ruby version installed : ruby 2.0.0p451 (2014-02-24 revision 45167) [universal.x86_64-darwin13]
When i run this command : gem install haml
i get this error :
MacBook-Pro:~ user$ gem install haml
ERROR: While executing gem ... (Gem::FilePermissionError)
You don't have write permissions for the /Library/Ruby/Gems/2.0.0 directory.
Can anyone tell me where am i going wrong??