Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

General Discussion

How do I fix this error access on mac so I can download jekyll?

Hello, I am following the tutorial exactly as to how to download jekyll. But my problem is that I get a different error message that the error of not having access to the file.

This is the what I get when I try to install jekyll:

Kathelyns-MacBook-Pro:~ katezelaya$ gem install jekyll ERROR: While executing gem ... (Errno::EACCES) Permission denied @ rb_sysopen - /usr/local/lib/ruby/gems/2.3.0/gems/jekyll-3.2.1/.rubocop.yml Kathelyns-MacBook-Pro:~ katezelaya$

How do I fix this error? I am pretty sure I installed everything I need to.

Thanks.

1 Answer

Try typing this instead into the Console: (Don't type the dollar sign; just everything in front of it)

$ sudo gem install jekyll

You'd also have to enter your password

Hope it helps and happy coding! :) ~Alex

Also, I don't recommend learning Jekyll if you've never learned HTML.