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

rails server

Yeah everyone if someone can help with this it will be great.

When I type rails s in my command prompt it starts then exits and then it gives me a bunch of files and errors,

Does anyone know how to fix this? I know the server is working can log on through another directory. But that's not the one I need to use.

Any help will be appreciated

1 Answer

This means there is an error in your code. Usually at the top of all the files, there is an explanation of the error and a line number of the file containing the error.

It comes up with a whole lot of errors I followed the course very well. so how do I find were the error is ?

Without seeing the exact output, it is hard to say. But, in my (limited) experience, there is usually a clear error message that has the line number of the problem. If it doesn't, it usually gives some other indication of what the problem is.

I have found that resizing the terminal to the max makes things much easier to read.

Sorry I can't be much more help.

Ok I will figure it out I just need to take a break. Thanks for your response

Thanks Tim, I when through the code and found the error and fixed it. now it works Thank you again for your help