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 Ruby Foundations Strings Special Characters and Escaping

Issues with IRB ends listening.

For some reason when I get about 16 lines into using IRB it stops listening and i have to close out Terminal.

Screen Shot below :

http://imgur.com/T92nXoA

1 Answer

If you see this in IRB prompt: "

It means the interpreter is waiting for some kind of ending of what you started. In your case, you started a string after puts and you did not close it because \" prints the " symbol but does not close the string itself.

So you would have to have \"" or write the missing " in the next line.

Oddly, Pressing Cntl + C (Puts up C^) kicked me back out.

The ide is definitely acting a little funny.

Ctrl+C usually closes stuff in the console.

Makes sense.

Following me through the forums appears to be doing well for your +1's Appreciate the help.

It's not personal, I follow Ruby forum all the time, since there aren't many people who answer questions here.