Newb needs some help

20 views
Skip to first unread message

Brent Davis

unread,
Mar 15, 2014, 2:31:08 AM3/15/14
to rs...@googlegroups.com
Hey all-

I'm really new to RSPEC and was hoping to get some help. I'm currently going through the materials to apply to a programming bootcamp called App Academy. All of the Ruby material is very intuitive, and I'd go so far as to say I'm having a lot of fun. But, once I came to RSPEC, I am hitting a roadblock.

I've attached an image to help you see my problem. On the left of the image, are the very first steps of the instructions for a particular practice problem. In those instructions, it shows what the results should look like. On the right, are the results that I get when I follow the instructions. Clearly there is something wrong. 

Can anybody help?
rspec problem.jpg

Myron Marston

unread,
Mar 15, 2014, 2:38:46 AM3/15/14
to rs...@googlegroups.com
Hey Brent,

Welcome!  Sorry to hear you're having troubles with RSpec.

I'm not 100% sure what the problem is (it's hard to guess what the problem is remotely, and I haven't used windows in a while), but looking at your output, I'm noticing that your working directory is escaped in one spot (as ".../Test_\#3/...") and not in others.  Then looking at the failure message, it looks like it thinks the directory structure is ".../Test_/#3/...", where "#3" is a nested directory under "Test".

Try renaming your directory so it doesn't have the "#" character.  Our tools should support an odd directory name like that better but most devs stick with basic directory names that don't require any escaping, so it's not too surprising to see we may have a bug there.

HTH,
Myron

Brent Davis

unread,
Mar 15, 2014, 4:30:58 PM3/15/14
to rs...@googlegroups.com
Myron-

That did it! Thank you SO much for the helpful and quick reply!

Brent
Reply all
Reply to author
Forward
0 new messages