简体   繁体   中英

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.

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

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM