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


Pre-requisites for installing Jekyll?

In the installation guide for Jekyll, it says "The best way to install Jekyll is via RubyGems". I entered the command "sudo gem install jekyll" in the terminal and it asked for my password after. I don't have Ruby on my computer yet though so I am hesitant to continue. Is Ruby already pre-installed into OSX or do I still have to install it? If so, where can I find a tutorial on this. Thank you!

1 Answer

Jason Anders
Jason Anders
Treehouse Moderator 145,858 Points

Hey there,

Yes, by default, Ruby comes pre-installed on OSX computers. So, your command is correct. Try installing without the sudo prefix though. It won't ask you for a password, but also may not allow you to install. If it does... bonus! :smiley: However, if it doesn't, do it the way you stated (with sudo), and the password is just your admin password you have for your computer.

Good luck. :)