-
-
Notifications
You must be signed in to change notification settings - Fork 10.1k
Cannot Run Jekyll in Mac OS High Sierra #6637
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Ruby 2.0 is not supported anymore. You have to update your system. I also run macOS High Sierra and I suggest you update your 💎 Ruby to All it takes is few command lines:
brew update
Updated Homebrew from 67c4402634 to b4d43e950f.
...
brew install rbenv ruby-build
installing… rbenv 1.1.1
installing… ruby-build 20171215
rbenv install 2.4.3
ruby-build: use openssl from homebrew
Downloading ruby-2.4.3.tar.bz2...
-> https://cache.ruby-lang.org/pub/ruby/2.4/ruby-2.4.3.tar.bz2
Installing ruby-2.4.3...
ruby-build: use readline from homebrew
Installed ruby-2.4.3 to /Users/frank/.rbenv/versions/2.4.3
rbenv global 2.4.3
gem install jekyll bundler
Fetching: jekyll-3.6.2.gem (100%)
Successfully installed jekyll-3.6.2
Fetching: bundler-1.16.0.gem (100%)
Successfully installed bundler-1.16.0 Check you run latest $ jekyll -v
jekyll 3.6.2 Update rubygems: gem update --system
Updating rubygems-update
Fetching: rubygems-update-2.7.3.gem (100%)
Successfully installed rubygems-update-2.7.3
Installing RubyGems 2.7.3
Bundler 1.16.0 installed
RubyGems 2.7.3 installed
Regenerating binstubs
RubyGems system software updated If you use a If you want to upgrade your global gem update jekyll You have now an up to date Ruby and Jekyll install on macOS. |
This issue has been automatically marked as stale because it has not been commented on for at least two months. The resources of the Jekyll team are limited, and so we are asking for your help. If this is a bug and you can still reproduce this error on the If this is a feature request, please consider building it first as a plugin. Jekyll 3 introduced hooks which provide convenient access points throughout the Jekyll build pipeline whereby most needs can be fulfilled. If this is something that cannot be built as a plugin, then please provide more information about why in order to keep this issue open. This issue will automatically be closed in two months if no further activity occurs. Thank you for all your contributions. |
My Reproduction Steps
I am having an issue running my Jekyll project. At first, I thought I did something wrong but I cloned the repository on GitHub to my local machine and I see the same error message.
Below I reproduced my steps. Can anyone help?
Steps
git clone https://github.com/jekyll/jekyll.git
jekyll serve
-bash: /usr/local/bin/jekyll: /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby: bad interpreter: No such file or directory
jekyll doctor
-bash: /usr/local/bin/jekyll: /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby: bad interpreter: No such file or directory
MacBook Pro (Retina, 13-inch, Early 2015)
macOS High Sierra
Version 10.13.2
The Output I Wanted
I want to run my project.
The text was updated successfully, but these errors were encountered: