When creating my application using ROR, I continually receive a syntax error when I use:
FitsbyApp::Application.routes.draw do
match '/help', to: 'static_pages#help'
match '/about', to: 'static_pages#about'
match '/contact', to: 'static_pages#contact'
end
I am using Rails 3.2.8. Could it be that I don't have the right version of Rails or Ruby?
This is the error I get when I run the match:
rb:245:in `load': /Users/dannygaeta/rails_projects/fitsby_app/config/routes.rb:2: syntax error, unexpected ':', expecting kEND (SyntaxError)
I get this for each match. Any ideas what I am doing wrong?