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

Ruby Build a Simple Ruby on Rails Application Frontend Development Installing Twitter Bootstrap

I 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
Brandon Barrette
20,485 Points

In your terminal run:

bundle install

You are missing the gems on your local machine that appear in application.js

Hmm. It says "Could not locate Gemfile" when I try that. Any other ideas? Thanks for your help Brandon.

Hmm. It says "Could not locate Gemfile" when I try that. Any other ideas? Thanks for your help Brandon.

Brandon Barrette
Brandon Barrette
20,485 Points

Then 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

Great 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
STAFF
Jason Seifer
Treehouse Guest Teacher

Kristi 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)