gpt4 book ai didi

mysql - Phusion 乘客 - ActiveRecord::PendingMigrationError

转载 作者:塔克拉玛干 更新时间:2023-11-03 00:48:29 27 4
gpt4 key购买 nike

我正在尝试使用 Phusion Passenger 运行简单的 RoR 应用程序。在转到本地主机的那一刻,我看到了主题的错误。事实上,我没有任何待处理的迁移:

     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

我的平台是 Linux (Debian 8 Jessie 64x)。

我的数据库是 MySQL (gem 'mysql2', '~> 0.3.18')。

我正在使用 Ruby 2.2.1p85(2015-02-26 修订版 49769)[x86_64-linux] 和 Rails 4.1.8。

Passenger 版本为 5.0.22。

有谁知道如何解决这个问题?我错过了什么?

最佳答案

我的问题终于解决了。帮助简单的 Apache 服务器重新启动。知道 Rails 动态应用大部分更改的奇妙能力后,我什至不认为 Apache 需要在某个时候重新启动。我只是在修改其配置后才这样做。无论如何,感谢所有试图帮助我的人。

关于mysql - Phusion 乘客 - ActiveRecord::PendingMigrationError,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34369040/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com