[英]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. 我一直在尝试使用$ rake db:migrate迁移我的rails应用程序。我从终端收到此错误消息。 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.
我可以看到第42行存在语法错误,但是当我尝试更正时,它并没有关闭。
I see a period after class DeviseCreateUsers < ActiveRecord::Migration
in line 1 of the migration, like so: 我在
class DeviseCreateUsers < ActiveRecord::Migration
的第一行中看到class DeviseCreateUsers < ActiveRecord::Migration
之后的一段时间,如下所示:
class DeviseCreateUsers < ActiveRecord::Migration.
That period shouldn't be there 那个时期不应该在那里
There is a period present in 1st line. 第一行中有一个句点。 which gives syntax error.
给出语法错误。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.