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 trialDian Pan
1,099 PointsWhen I try to verify that jekyll was installed, I receive the following error: -bash: jekyll: command not found
Here's my terminal history: ~ :> sudo gem install jekyll Password: Successfully installed jekyll-2.5.3 Parsing documentation for jekyll-2.5.3 Done installing documentation for jekyll after 1 seconds 1 gem installed ~ :> jekyll -v -bash: jekyll: command not found
Any idea why this is happening?
1 Answer
Colin Bell
29,679 PointsI'm not super familiar with Macs, but that error typically means that it wasn't added to the PATH
environment variable. I'm not entirely sure how to do so on a Mac, but try updating Ruby gems first:
sudo gem update --system
If that doesn't work, take a look at this link. It might help.
Another link with someone who seems to have had the same problem as you are having now: link #2
Dian Pan
1,099 PointsDian Pan
1,099 Pointsthat second link was just what I needed, thank you!