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

CSS Sass Basics (retired) Speeding up Workflow with Sass Working with Sass Libraries

shareyourpeace
shareyourpeace
3,244 Points

In the video, at about 3 minutes, we go to the bourbon.io site. We end up on github. How do we get the code from github

Can someone explain this. We go to bourbon.io

We navigate to github.

The video never explains or shows why we are on either of these sites.

We do go to terminal and type:

sudo gem install bourbon

This is my output.

Password:
Successfully installed thor-0.19.1
Successfully installed bourbon-4.0.2
2 gems installed
Installing ri documentation for thor-0.19.1...
Installing ri documentation for bourbon-4.0.2...
Installing RDoc documentation for thor-0.19.1...
Installing RDoc documentation for bourbon-4.0.2...

Did it just install documentation ? thanks

1 Answer

James Barnett
James Barnett
39,199 Points

tl;dr - The command gem install bourbon installs bourbon and it's documentation.


So Sass was made by Hampton Catlin who is a Ruby developer and he assumed the users of it would be fellow Ruby devs. With that premise he packaged Sass the way all Ruby-related software is packaged using gems.

So add-ons to Sass such as Bourbon and Compass are also packaged as gems.


So when you type gem install <package> you are installing the software package of that name.

shareyourpeace
shareyourpeace
3,244 Points

Thank you. I had researched while waiting for forum feedback and get it now. Please look at the other questions that I have posted.

In this interim period, I have somehow lost the ability to generate .css files from .scss and when I type sass --watch . In terminal, it opens up but No Output is generated when I modify the .scss file. More explained in the questions.

I was just about to quit when your response kindly showed up. Thanks