Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error during migrations #64

Open
avilchinsky opened this issue Jan 3, 2020 · 1 comment
Open

error during migrations #64

avilchinsky opened this issue Jan 3, 2020 · 1 comment

Comments

@avilchinsky
Copy link

Installing plugin at first time.
During rake redmine:plugins ..... I see the next error
Migrating time_logger (Time Logger)...
I, [2020-01-03T10:13:36.177438 #211] INFO -- : Migrating to CreateTimeLoggers (1)
--
--
rake aborted!
NoMethodError: undefined method `[]' for #ActiveRecord::Migration:0x000055de856bcdf8

Redmine version 3.4.11.stable
Ruby version 2.4.9-p362 (2019-10-02) [x86_64-linux]
Rails version 4.2.11.1
Environment production
Database adapter Mysql2

@TomasMarku
Copy link

In plugin directory navigate to db/migrate and change the file 001_create_time_loggers.rb. On first line delete [4.2]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants