Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.


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,704 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. :)