Skip to content
Advertisement

Phusion Passenger – ActiveRecord::PendingMigrationError

I am trying to run simple RoR application with Phusion Passenger. 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).

My database is 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.

Passenger version is 5.0.22.

Does anyone know how to solve this issue? What have I missed?

Advertisement

Answer

Finally my issue is solved. Helped trivial Apache server restart. 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. I did that only after modifying its configuration. Anyway thanks to all who tried to help me.

User contributions licensed under: CC BY-SA
2 People found this is helpful
Advertisement