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

Does this support redmine version 4.0.1-1 #50

Open
ram3772340 opened this issue Mar 18, 2019 · 4 comments
Open

Does this support redmine version 4.0.1-1 #50

ram3772340 opened this issue Mar 18, 2019 · 4 comments

Comments

@ram3772340
Copy link

Getting a below error when running rake in the remine version 4.0+.

image

Any thoughts?

@dro123
Copy link
Owner

dro123 commented Mar 27, 2019

Probably the same solution as this one:
ruby-grape/grape#1666 (comment)

@aceccarelli
Copy link

Hi!
For me this solution didn't work
After update file init.rb in line 34 I did get a below error
If you can help me, I will be very grateful, as it is a plugin that I use a lot and is locking up to migrate to version 4.1

Thnaks!

redmine@Redmine:/var/www/redmine-4.1.0/plugins/redmine_meeting_room_calendar$ bundle exec rake redmine:plugins:migrate RAILS_ENV=production
(in /var/www/redmine-4.1.0)
rake aborted!
NoMethodError: undefined method `to_prepare' for ActionDispatch::Callbacks:Class
Did you mean?  to_param
/var/www/redmine-4.1.0/plugins/redmine_meeting_room_calendar/init.rb:34:in `'
/var/www/redmine-4.1.0/lib/redmine/plugin.rb:181:in `block in load'
/var/www/redmine-4.1.0/lib/redmine/plugin.rb:172:in `each'
/var/www/redmine-4.1.0/lib/redmine/plugin.rb:172:in `load'
/var/www/redmine-4.1.0/config/initializers/30-redmine.rb:20:in `'
/var/www/redmine-4.1.0/config/environment.rb:16:in `'
/home/redmine/.rvm/gems/ruby-2.6.3/bin/ruby_executable_hooks:24:in `eval'
/home/redmine/.rvm/gems/ruby-2.6.3/bin/ruby_executable_hooks:24:in `'
Tasks: TOP => redmine:plugins:migrate => environment
(See full trace by running task with --trace)

@VVD
Copy link

VVD commented Apr 8, 2020

@dro123, can you, please, update this plugin to support Redmine 4.x (4.0, 4.1, future 4.2)?

@dro123
Copy link
Owner

dro123 commented Apr 9, 2020

I merged this:
#51
Try if it helps.
I don't have the development environment anymore to test this since I'm currently not using redmine anywhere.

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

4 participants