Syntax Error?

I wanted to make a ‘simple blog’ refer to “Creating a weblog in 15
minutes” on rubyonrails.org

I made controller named post, and model named posts and started again
Webrick server
but , ther was a error like this ->

SyntaxError

app/controllers/posts_controller.rb:1: Invalid char \357' in expression app/controllers/posts_controller.rb:1: Invalid char\273’ in
expression
app/controllers/posts_controller.rb:1: Invalid char `\277’ in
expression

RAILS_ROOT: script/…/config/…

This error occured while loading the following files:
script/…/config/…/app/controllers/posts_controller.rb

I wonder why this error is occuring…

P.S It’s my first writing in this group :slight_smile:

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs