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 trialKristi Dickinson
149 PointsI made a mistake when adding the Bootstrap components. The error message is "missing file js-routes". Any ideas?
After I moved in the components the video directed, saved a refreshed this error message came up. Any idea what happened and how to fix? couldn't find file 'js-routes' (in /Users/kristidickinson/Desktop/Projects/treebook/app/assets/javascripts/application.js:15)
4 Answers
Brandon Barrette
20,485 PointsIn your terminal run:
bundle install
You are missing the gems on your local machine that appear in application.js
Kristi Dickinson
149 PointsHmm. It says "Could not locate Gemfile" when I try that. Any other ideas? Thanks for your help Brandon.
Brandon Barrette
20,485 PointsThen that's a bigger problem. Without a gemfile, you can't have a ruby on rails app. Make sure you are in the directory of your app. For example, if my app is in Sites/Projects/Myapp then in the terminal I will need to type:
cd Sites/Projects/Myapp
then I would type
bundle install
Kristi Dickinson
149 PointsGreat that worked and I was able to successfully install it. Everything looks great in Terminal but when I revisit the site I am still getting an error message. Can I attach a screenshot somehow so you can see all the details? Thank you!
Jason Seifer
Treehouse Guest TeacherKristi Dickinson can you paste the error you're getting now? You can either copy and paste it in to the text area or take a screenshot and upload it to a site like imgur or Dropbox. If you go the screenshot route, once you have the url of the image, paste it like this:
![](http://imageurl)
Kristi Dickinson
149 PointsKristi Dickinson
149 PointsHmm. It says "Could not locate Gemfile" when I try that. Any other ideas? Thanks for your help Brandon.