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 trialshareyourpeace
3,244 PointsWhy use the command 'install bourbon' 2x
Why do we install 2x ?
sudo gem install bourbon
and then
bourbon install
I have started this entire video for the 3rd time trying to figure things out.
Now I am adding a 3rd question about bourbon.
Please explain. I am unable to continue with this course.
5 Answers
James Barnett
39,199 PointsThere are 3 steps to using Bourbon
- Install bourbon on your computer via gems:
gem install bourbon
- "Install" bourbon in your Sass project
install bourbon
- Include bourbon in your SCSS files
The important thing to note about step 2
This will create a sub-directory with all the core Bourbon files. You should treat this sub-directory as a third-party library, meaning that it is a bad idea to go in and modify the files inside. Instead, you should import them with Sass and then play with the powerful tools they provide in your own code.
from: http://www.sitepoint.com/getting-started-sass-bourbon/
For more details check out the previously linked sitepoint article it walks you through getting Sass and bourbon setup.
Please explain. I am unable to continue with this course.
I wouldn't worry too much about Bourbon it's only mentioned in this one video. If you are curious about Sass libraries there is a whole course on Compass available on Treehouse.
Benjamin Palladino
13,297 PointsSometimes your machine may not update it right away. Try closing windows and reopening or restarting your computer.
You could also try running a "self update"
sudo gem update βsystem
shareyourpeace
3,244 PointsThanks for responding.
These are the commands that Hampton uses in the video.
Can you look at the other questions related to bourbon that I posted . They should be listed under the video, Speeding up workflow.
Steps are skipped or not explained. Thanks.
shareyourpeace
3,244 PointsOkay James.
You clarified about the different install commands for me.
I had come across sitepoint by the way.
It took me awhile to Find the directory where the bourbon files lived and when I did, I copied-pasted them into my project Directory.
Still stuck though.
Cannot get sass --watch . To output upon modification
Cannot get .scss files to autogenerate the .css files.
Mind you - I had all of this running perfectly fine before I got hung.
Thanks again.
Chris Wiley
11,327 PointsOn step 2 that James Barnett points out, on window the word order is "bourbon install" or an error will occur. This word order is used in the link.
Abby Fichtner
2,366 PointsStupid question - but if Bourbon is "just" a folder with a bunch of files - why do you need to install anything? Why can't you just download those files from somewhere like github?