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
Adrian FilimonCourses Plus Student 6,668 Points
I tried running the test however the console doesn't return anything.
So I did just like the video, creating a new directory, one txt file with my name and one rb called test. The problem is when i run the test on my console, i don't receive any message. Here is my code:
Jay McGavrenTreehouse Teacher
Adrian.txt within a
pages/ subdirectory, like this?
| `-- Adrian.txt
That's where it will look for the file, so if not, that's your problem. You should be able to confirm this by commenting out the
rescue clause; then it will display an error if the file isn't there.