Skip to content
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

Can't preview site locally on MacOS because default Ruby is 2.6 which is too old #2779

Closed
SethTisue opened this issue Apr 27, 2023 · 1 comment

Comments

@SethTisue
Copy link
Member

symptom:

ERROR:  Error installing jekyll:
	The last version of sass-embedded (~> 1.54) to support your Ruby & RubyGems was 1.58.3. Try installing it with `gem install sass-embedded -v 1.58.3` and then running the current command again
	sass-embedded requires Ruby version >= 2.7.0. The current ruby version is 2.6.10.210.
@SethTisue
Copy link
Member Author

here's how I'm working around this:

  • brew install ruby@2.7
  • PATH=/opt/homebrew/Cellar/ruby@2.7/2.7.8/bin:$PATH
  • PATH=/Users/tisue/.gem/ruby/2.7.0/bin:$PATH

then the commands recommended in the README work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant