I have been tried to install Jekyll for hours, helps me out!!! sorry, I am a beginner.
macOS sierra; version 10.12.6
Sudo gem install bundler jekyll
Password: <my ,>
ERROR: While executing gem ... (Gem::FilePermissionError)
You don't have write permissions for the /usr/bin directory.
I have searched for many solutions online, but not work.
ALSO when use
gem install --user-install bundler jekyll
WARNING: You don't have /Users/momooooooooom/.gem/ruby/2.3.0/bin in your PATH,
gem executables will not run.
Successfully installed bundler-2.0.2
Parsing documentation for bundler-2.0.2
Done installing documentation for bundler after 5 seconds
Building native extensions. This could take a while...
ERROR: Error installing jekyll:
ERROR: Failed to build gem native extension.\
pleas help me!