Skip to content

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

Closed as not planned

Description

@SethTisue

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.

Activity

  1. SethTisue commented on Apr 27, 2023

    @SethTisue
    MemberAuthor

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions