LINUX.ORG.RU

ERROR: directory is already being watched!

 ,


0

2

Есть приложение на rails с использованием бд postgresql. При попытки выполнить миграцию ($ rake db:migrate) выходит следующая ошибка:

(in /home/user/apps/program)
        ** ERROR: directory is already being watched! **

        Directory: /home/user/apps/program/releases/20171224133358

        is already being watched through: /home/user/apps/program/releases/20171224133358

        MORE INFO: https://github.com/guard/listen/wiki/Duplicate-directory-errors
        ** ERROR: directory is already being watched! **

        Directory: /home/user/apps/program/current/log

        is already being watched through: /home/user/apps/program/shared/log

        MORE INFO: https://github.com/guard/listen/wiki/Duplicate-directory-errors
        ** ERROR: directory is already being watched! **

        Directory: /home/user/apps/program/current/frontend/node_modules

        is already being watched through: /home/user/apps/program/shared/frontend/node_modules

        MORE INFO: https://github.com/guard/listen/wiki/Duplicate-directory-errors
        ** ERROR: directory is already being watched! **

        Directory: /home/user/apps/program/current/tmp/cache

        is already being watched through: /home/user/apps/program/shared/tmp/cache

        MORE INFO: https://github.com/guard/listen/wiki/Duplicate-directory-errors
        ** ERROR: directory is already being watched! **

        Directory: /home/user/apps/program/current/tmp/pids

        is already being watched through: /home/user/apps/program/shared/tmp/pids

        MORE INFO: https://github.com/guard/listen/wiki/Duplicate-directory-errors
        ** ERROR: directory is already being watched! **

        Directory: /home/user/apps/program/current/tmp/sockets

        is already being watched through: /home/user/apps/program/shared/tmp/sockets

        MORE INFO: https://github.com/guard/listen/wiki/Duplicate-directory-errors
        ** ERROR: directory is already being watched! **

        Directory: /home/user/apps/program/current/public/system

        is already being watched through: /home/user/apps/program/shared/public/system

        MORE INFO: https://github.com/guard/listen/wiki/Duplicate-directory-errors
        ** ERROR: directory is already being watched! **

        Directory: /home/user/apps/program/current/vendor/bundle

        is already being watched through: /home/user/apps/program/shared/vendor/bundle

        MORE INFO: https://github.com/guard/listen/wiki/Duplicate-directory-errors
== 20170518043248 CreateUsers: migrating =======================
-- create_table(:users)
   -> 0.0767s
-- add_index(:users, :email, {:unique=>true})
   -> 0.0348s
-- add_index(:users, :login, {:unique=>true})
   -> 0.0474s
-- add_index(:users, [:uid, :provider], {:unique=>true})
   -> 0.0420s
-- add_index(:users, :reset_password_token, {:unique=>true})
   -> 0.0337s
-- add_index(:users, :confirmation_token, {:unique=>true})
   -> 0.0251s
== 20170518043248 CreateUsers: migrated (0.2605s) ==============