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