I tried to install Jekyll on my Mac (OS X 10.11.6 El Capitan with Xcode cli tools installed) using
gem install jekyll, but I received this error:
$ gem install jekyll
ERROR: While executing gem ... (Gem::FilePermissionError)
You don't have write permissions for the /Library/Ruby/Gems/2.0.0 directory.
I don't know anything about Ruby other than what I've read today, but I know a fair bit about bash. The developers suggest using
sudo gem install -n /usr/local/bin jekyll. Is the
sudo in this case only for if the folder permissions for
/usr/local/bin require escalated privileges or is it for something else also?
Is there a way that I can install Jekyll
- without using
- without installing Homebrew (or any other package installation tools / third-party software) and
- without modifying the permissions (
root:wheel) on my
If so, what are the implications on the operation of Jekyll?