Nick Read
Nick Read

Reputation: 7

syntax error ruby on rails while using $ rake db:migrate

enter image description here enter image description here

I have been trying to migrate my rails aplication using $ rake db:migrate I am getting this error message from the terminal. any idea of what I am doing wrong. I can see that there is a syntax error on line 42 but when I try to correct it doesn't close.

Upvotes: 0

Views: 58

Answers (2)

Ren
Ren

Reputation: 1374

I see a period after class DeviseCreateUsers < ActiveRecord::Migration in line 1 of the migration, like so:

class DeviseCreateUsers < ActiveRecord::Migration.

That period shouldn't be there

Upvotes: 1

Bhimasen Rautaray
Bhimasen Rautaray

Reputation: 301

There is a period present in 1st line. which gives syntax error.

Upvotes: 1

Related Questions