FAQ: Create a Static Website Using Jekyll - Installing Jekyll

This community-built FAQ covers the “Installing Jekyll” exercise from the lesson “Create a Static Website Using Jekyll”.

Paths and Courses
This exercise can be found in the following Codecademy content:

Deploy a Website

FAQs on the exercise Installing Jekyll

There are currently no frequently asked questions associated with this exercise – that’s where you come in! You can contribute to this section by offering your own questions, answers, or clarifications on this exercise. Ask or answer a question by clicking reply (reply) below.

If you’ve had an “aha” moment about the concepts, formatting, syntax, or anything else with this exercise, consider sharing those insights! Teaching others and answering their questions is one of the best ways to learn and stay sharp.

Join the Discussion. Help a fellow learner on their journey.

Ask or answer a question about this exercise by clicking reply (reply) below!

Agree with a comment or answer? Like (like) to up-vote the contribution!

Need broader help or resources? Head here.

Looking for motivation to keep learning? Join our wider discussions.

Learn more about how to use this guide.

Found a bug? Report it!

Have a question about your account or billing? Reach out to our customer support team!

None of the above? Find out where to ask other questions here!

Hey! Jekyll is not installing on my MacOS – it says in the terminal:

Fetching: public_suffix-4.0.6.gem (100%)
ERROR: While executing gem … (Gem::FilePermissionError)
You don’t have write permissions for the /Library/Ruby/Gems/2.3.0 directory.

1 Like

Hi. I had the same issue, this website helped, (if you haven’t been able to solve it yet):

Good day!

Thanks - I’m having the same issue. From that link it looks like I have to update the version of Ruby(?) but I don’t know how to do that. I tried putting rbenv global 2.6.3 in the terminal, but I got the error “-bash: rbenv: command not found”. Any suggestions?

How do you install Jekyll on Windows? I followed the instructions on Jekyll on Windows | Jekyll • Simple, blog-aware, static sites (jekyllrb.com) but my output was:

bash: gem: command not found

So I tried “gem install jekyll” (Was the course showing what to do on another OS or something?) in the command prompt and for awhile it seemed to be installing Jekyll but then it had an error message.
I am not sure if the part after error meant that it continued installation . . .

1 Like

I have the same issue, but at least you seem to have solved it for you, but it doesn’t work here:
image
It’s in portuguese, but basically it says it’s not recognizing as commands. This lesson is so missing information

Im also having the same problem

When typing ‘gem install jekyll’

  • CMD - ‘gem’ is not recognized as an internal or external command
  • PowerShell - The term ‘gem’ is not recognized
  • GitBash - bash: gem: command not found

I have run into this issue during the ‘How to deploy a Website’ lesson 3