rubychan / coderay

Fast and easy syntax highlighting for selected languages, written in Ruby.
http://coderay.rubychan.de/
Other
845 stars 115 forks source link

Install coderay with permission error in macosx #234

Closed snowman closed 4 years ago

snowman commented 5 years ago

Error:

You don't have write permissions for the /Library/Ruby/Gems/2.3.0 directory.

does this mean i should install with sudo gem install coderay?

vpereira commented 4 years ago

yes. Unless you are using rvm or any other ruby manager. To install gem for the system ruby, you will need root access.