Я пытаюсь обновить redmine от 1.3.0 до 2.0.0, но у меня проблемы с миграцией базы данных. Когда я запускаю команду:
rake db:migrate RAILS_ENV=production
отображается ошибка типа
rake aborted!
uninitialized constant RAILS_ENV
Мой журнал ошибок:
ActiveRecord::SubclassNotFound (The single-table inheritance mechanism failed to locate the subclass: 'GoogleAppsAuthSource'. This error is raised because the column 'type' is reserved for storing the class in case of inheritance. Please rename this column if you didn't intend it to be used for storing the inheritance class or overwrite AuthSource.inheritance_column to use another column for that information.):
app/models/user.rb:139:in `try_to_login'
app/controllers/account_controller.rb:143:in `password_authentication'
app/controllers/account_controller.rb:138:in `authenticate_user'
app/controllers/account_controller.rb:30:in `login'
Вот список плагина, который я использую в своем старом redmine:
-
Плагин Google Apps
-
Плагин Redmine Code Review
-
Плагин Redmine Hudson
Пожалуйста, помогите мне