1

I'm trying to install Jekyll, a simple, blog-aware, static site generator. When I attempted to run the terminal command gem install jekyll, I got this error:

Error installing Jekyll.  Failed to build gem native extensions.

I then tried to update my RubyGems, using the command sudo gem update --system. That didn't work. Hopefully, I don't have to re-install Ruby. What a headache that would be!

1

Following Seth Warburton's steps on Install Jekyll in OSX Mavericks, try adding sudo to the install command:

sudo gem install jekyll

If you need to update or re-install Ruby, consider using an isolated edition via brew.

2
  • Do you think installing Xcode will fix the problem? I don't want to download it for nothing. Additionally, I have extremely slow download speeds! – Matthew Kosloski Jun 6 '14 at 0:50
  • What happens when you prefix sudo to the command? The error suggests a lack of write permissions; which should be fixed by using sudo. – Graham Miln Jun 6 '14 at 5:10

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .