Can't Run Jekyll in Mac OS Sierra


I tried running Jekyll and I got the following error messages. I did not encounter this error message before.

Unknown ruby interpreter version (do not know how to handle):     RUBY_VERSION.

-bash: /usr/local/bin/jekyll: /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby: bad interpreter: No such file or directory

PatriciComputer:start patriciocabrera$


Please try the following procedure and tell me if it solves your problem:


You might also look into Ruby Version Manager, it really takes the pain out of relying on the OS version of Ruby. Thus, after installing RVM, Ruby becomes a free agent and you can specify which version of Ruby to use per site.


High Sierra includes Ruby 2.3.3:

$ ruby --version
ruby 2.3.3p222 (2016-11-21 revision 56859) [universal.x86_64-darwin17]

If this happened after you updated, you’ll have to reinstall Jekyll and any other gems you’re using. sudo gem install jekyll should get you going; you might have a few more dependencies (the Gemfile can help with that).

Anyway, there’s no need to jump through a bunch of RVM or homebrew/ports hoops to get Jekyll going again.