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 trialAdrian McCarroll
2,630 PointsInstalling the latest version of Bootstrap
Hi when trying to install the latest version of Bootstrap it comes with an icons folder rather than an images folder. How do I include this? I'm runing rails 4.1.x and there is no icons folder in assets.
4 Answers
thomascawthorn
22,986 PointsHey man.
Are you following along with the Treebook application?
Don't worry about it too much - Bootstrap css files will point to the icons folder - so copy it into the assets folder and make sure you leave it with the same name (icons) and same location relative to the other css files from Bootstrap and you'll be fine. (essentially just copy everything to the assets folder like they do!)
You can delete the images folder if you like, but it shouldn't make a difference :)
Hope that helps!
Maciej Czuchnowski
36,441 PointsRemember that Treebook uses older version of Bootstrap - v2 I think. A lot has changed in Bootstrap 3, which is the current version. If you want to follow along the videos line by line, pixel by pixel, you need older Bootstrap (and older Rails for that matter, prepare for lots of nil class
errors using Rails 4.1 with Treebook).
thomascawthorn
22,986 PointsFor sure. Reading up on strong parameters is an absolute must!
Maciej Czuchnowski
36,441 PointsAnd Strong Parameters + Devise, this one's the worst nightmare when doing Treebook ;)
thomascawthorn
22,986 PointsMaciej Czuchnowski when you added friendships, did you have any trouble with the tests?
Maciej Czuchnowski
36,441 PointsI didn't do this course line-by-line, since I use RSpec and used treebook only as inspiration for features and ways to implement them.
Adrian McCarroll
2,630 PointsHello, yes I have completed the treebook lesson and was trying to use some of the techniques to create a simple site.
I made a slight mistake on the question, it comes with a fonts folder that includes glythicons, it doesn't work if I create a fonts folder and copy them in there.
Maciej Czuchnowski
36,441 PointsGoogle up how to use and set up Bootstrap 3 in Rails 4, including Glyphicons problem (these are very numerous and some people just give up and use things like Font Awesome instead). For Rails I suggest simply using Bootstrap-sass gem. No need to create and manipulate files and folders within your app.
Adrian McCarroll
2,630 PointsHi Maciej that worked perfectly, thanks!