[英]Phusion Passenger - ActiveRecord::PendingMigrationError
I am trying to run simple RoR application with Phusion Passenger. 我正在尝试与Phusion Passenger运行简单的RoR应用程序。 At the moment when go to localhost I see the error from subject.
在转到本地主机的那一刻,我看到了来自主题的错误。 In fact I don't have any pending migration:
实际上,我没有任何待处理的迁移:
Status Migration ID Migration Name
--------------------------------------------------
up 20150222215652 Create products
up 20150405145349 Create carts
up 20150405151313 Create line items
up 20150407094606 Add quantity to line items
up 20150409062414 Combine items in cart
up 20150516084832 Create orders
up 20150516084958 Add order id to line item
up 20151005170430 Add ship date to orders
up 20151011083822 Create users
up 20151118212158 Add locale to products
My platform is Linux (Debian 8 Jessie 64x). 我的平台是Linux(Debian 8 Jessie 64x)。
My database is MySQL (gem 'mysql2', '~> 0.3.18'). 我的数据库是MySQL(gem'mysql2','〜> 0.3.18')。
I am using Ruby 2.2.1p85 (2015-02-26 revision 49769) [x86_64-linux] and Rails 4.1.8. 我正在使用Ruby 2.2.1p85(2015-02-26修订版49769)[x86_64-linux]和Rails 4.1.8。
Passenger version is 5.0.22. 乘客版本是5.0.22。
Does anyone know how to solve this issue? 有谁知道如何解决这个问题? What have I missed?
我错过了什么?
Finally my issue is solved. 终于我的问题解决了。 Helped trivial Apache server restart.
帮助平凡的Apache服务器重启。 Knowing the wonderful ability of Rails to apply most of changes on the fly, I didn't even think that Apache would be needed to restart at some point.
知道Rails能够动态应用大多数更改的出色能力,我什至都不认为需要在某个时刻重新启动Apache。 I did that only after modifying its configuration.
我只有在修改其配置后才这样做。 Anyway thanks to all who tried to help me.
无论如何,感谢所有试图帮助我的人。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.