I figured out my dumb error - forgot to put "end" after the map.connect 
statement.  Sorry about posting this.


Bert Ameche wrote:
> I just started developing a social network using the RailsSpace book.
> The books instruction is to change the url to be http://localhost:3000
> instead of http://localhost:3000/site.  To do this, I changed the
> config/routes.rb file's map.connect to be
> map.connect '', :controller => "site"
> 
> and then deleted public/index.html
> 
> Finally I copied and pasted the books source code for
> app/views/site/index.rhtml
> 
> The syntax error is:
> C:/folder/appname/config/routes.rb:42: syntax error, unexpected $end,
> expecting kEND
> 
> This error occurred while loading the following files:
>    C:/folder/appname/config/routes.rb
> 
> 
> Would really appreciate any help to solving this (BTW, I am a complete
> novice to RoR and programming, so I don't know if this is the
> appropriate forum or there is a better one for beginners)

-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to