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

Upgrade to 0.2.6 failed on redmine 3.2.0 #27

Closed
ppoektos opened this issue Jul 4, 2016 · 3 comments
Closed

Upgrade to 0.2.6 failed on redmine 3.2.0 #27

ppoektos opened this issue Jul 4, 2016 · 3 comments
Assignees
Labels

Comments

@ppoektos
Copy link

ppoektos commented Jul 4, 2016

git clone https://github.com/paginagmbh/redmine_lightbox2
cd redmine_lightbox2/
git branch -a
git checkout redmine-3.0-3.2
cd ..
rake redmine:plugins:migrate RAILS_ENV=production
rake aborted!
ArgumentError: :version_or_higher accepts a version string only
/var/www/rm320/lib/redmine/plugin.rb:208:in `block in requires_redmine'
/var/www/rm320/lib/redmine/plugin.rb:205:in `each'
/var/www/rm320/lib/redmine/plugin.rb:205:in `requires_redmine'
/var/www/rm320/plugins/redmine_lightbox2/init.rb:12:in `block in <top (required)>'
/var/www/rm320/lib/redmine/plugin.rb:75:in `instance_eval'
/var/www/rm320/lib/redmine/plugin.rb:75:in `register'
/var/www/rm320/plugins/redmine_lightbox2/init.rb:6:in `<top (required)>'
/usr/local/rvm/gems/ruby-1.9.3-p327/gems/activesupport-4.2.5/lib/active_support/dependencies.rb:274:in `require'
/usr/local/rvm/gems/ruby-1.9.3-p327/gems/activesupport-4.2.5/lib/active_support/dependencies.rb:274:in `block in require'
/usr/local/rvm/gems/ruby-1.9.3-p327/gems/activesupport-4.2.5/lib/active_support/dependencies.rb:240:in `load_dependency'
/usr/local/rvm/gems/ruby-1.9.3-p327/gems/activesupport-4.2.5/lib/active_support/dependencies.rb:274:in `require'
/var/www/rm320/lib/redmine/plugin.rb:155:in `block in load'
/var/www/rm320/lib/redmine/plugin.rb:146:in `each'
/var/www/rm320/lib/redmine/plugin.rb:146:in `load'
/var/www/rm320/config/initializers/30-redmine.rb:21:in `<top (required)>'
/usr/local/rvm/gems/ruby-1.9.3-p327/gems/activesupport-4.2.5/lib/active_support/dependencies.rb:268:in `load'
/usr/local/rvm/gems/ruby-1.9.3-p327/gems/activesupport-4.2.5/lib/active_support/dependencies.rb:268:in `block in load'
/usr/local/rvm/gems/ruby-1.9.3-p327/gems/activesupport-4.2.5/lib/active_support/dependencies.rb:240:in `load_dependency'
/usr/local/rvm/gems/ruby-1.9.3-p327/gems/activesupport-4.2.5/lib/active_support/dependencies.rb:268:in `load'
/usr/local/rvm/gems/ruby-1.9.3-p327/gems/railties-4.2.5/lib/rails/engine.rb:652:in `block in load_config_initializer'
/usr/local/rvm/gems/ruby-1.9.3-p327/gems/activesupport-4.2.5/lib/active_support/notifications.rb:166:in `instrument'
/usr/local/rvm/gems/ruby-1.9.3-p327/gems/railties-4.2.5/lib/rails/engine.rb:651:in `load_config_initializer'
/usr/local/rvm/gems/ruby-1.9.3-p327/gems/railties-4.2.5/lib/rails/engine.rb:616:in `block (2 levels) in <class:Engine>'
/usr/local/rvm/gems/ruby-1.9.3-p327/gems/railties-4.2.5/lib/rails/engine.rb:615:in `each'
/usr/local/rvm/gems/ruby-1.9.3-p327/gems/railties-4.2.5/lib/rails/engine.rb:615:in `block in <class:Engine>'
/usr/local/rvm/gems/ruby-1.9.3-p327/gems/railties-4.2.5/lib/rails/initializable.rb:30:in `instance_exec'
/usr/local/rvm/gems/ruby-1.9.3-p327/gems/railties-4.2.5/lib/rails/initializable.rb:30:in `run'
/usr/local/rvm/gems/ruby-1.9.3-p327/gems/railties-4.2.5/lib/rails/initializable.rb:55:in `block in run_initializers'
/usr/local/rvm/gems/ruby-1.9.3-p327/gems/railties-4.2.5/lib/rails/initializable.rb:44:in `each'
/usr/local/rvm/gems/ruby-1.9.3-p327/gems/railties-4.2.5/lib/rails/initializable.rb:44:in `tsort_each_child'
/usr/local/rvm/gems/ruby-1.9.3-p327/gems/railties-4.2.5/lib/rails/initializable.rb:54:in `run_initializers'
/usr/local/rvm/gems/ruby-1.9.3-p327/gems/railties-4.2.5/lib/rails/application.rb:352:in `initialize!'
/var/www/rm320/config/environment.rb:14:in `<top (required)>'
/usr/local/rvm/gems/ruby-1.9.3-p327/gems/activesupport-4.2.5/lib/active_support/dependencies.rb:274:in `require'
/usr/local/rvm/gems/ruby-1.9.3-p327/gems/activesupport-4.2.5/lib/active_support/dependencies.rb:274:in `block in require'
/usr/local/rvm/gems/ruby-1.9.3-p327/gems/activesupport-4.2.5/lib/active_support/dependencies.rb:240:in `load_dependency'
/usr/local/rvm/gems/ruby-1.9.3-p327/gems/activesupport-4.2.5/lib/active_support/dependencies.rb:274:in `require'
/usr/local/rvm/gems/ruby-1.9.3-p327/gems/railties-4.2.5/lib/rails/application.rb:328:in `require_environment!'
/usr/local/rvm/gems/ruby-1.9.3-p327/gems/railties-4.2.5/lib/rails/application.rb:457:in `block in run_tasks_blocks'
/usr/local/rvm/gems/ruby-1.9.3-p327/bin/ruby_executable_hooks:15:in `eval'
/usr/local/rvm/gems/ruby-1.9.3-p327/bin/ruby_executable_hooks:15:in `<main>'
Tasks: TOP => redmine:plugins:migrate => environment
(See full trace by running task with --trace)
tofi86 added a commit that referenced this issue Jul 4, 2016
@tofi86
Copy link
Collaborator

tofi86 commented Jul 4, 2016

Oh gosh, so sorry! Only edited the required version string but missed to change the method from :version_or_higher to :version:

New version v0.2.7 was released just now on branch redmine-3.0-3.2
Sorry!

@tofi86 tofi86 closed this as completed Jul 4, 2016
@tofi86 tofi86 added the bug label Jul 4, 2016
@tofi86 tofi86 self-assigned this Jul 4, 2016
@ppoektos
Copy link
Author

ppoektos commented Jul 4, 2016

Thanks for fast support! It works now.

@tofi86
Copy link
Collaborator

tofi86 commented Jul 4, 2016

Perfect, glad it works...

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

No branches or pull requests

2 participants