Error message when running a Sinatra application on Windows Vista.
Posted
by Adam Siddhi
on Stack Overflow
See other posts from Stack Overflow
or by Adam Siddhi
Published on 2010-05-13T16:12:49Z
Indexed on
2010/05/13
19:14 UTC
Read the original article
Hit count: 292
I was following a video tutorial by Adam Keys about how to make a URL shortener app in Sinatra. The code that is giving me problems is located here http://pastie.org/958644
So when I ran it I got this error:
shortener.rb:12: syntax error, unexpected $undefined, expecting $end @@ home
I typed it exactly as Adam said but this keeps happening. What could the issue be?
By the way, I am running ruby 1.9.1p243 (2009-07-16 revision 24175) [i386-mingw32] on Windows Vista.
Thanks, Adam
© Stack Overflow or respective owner