Skip to content

Conversation

@prahal
Copy link

@prahal prahal commented Apr 20, 2022

Fixes #805 .

replace yield if block which is incorrect at least nowadays by yield if block_given?.

REDMINE_INSTANCE=default bundle exec rake redmine_git_hosting:install_hook_files                         
                                                    
 * Installing/updating Gitolite hooks:
rake aborted!                                       
NameError: undefined local variable or method `block' for RedmineGitHosting::ConsoleLogger:Module
/usr/share/redmine/plugins/redmine_git_hosting/lib/redmine_git_hosting/console_logger.rb:9:in `title'    
/usr/share/redmine/plugins/redmine_git_hosting/lib/tasks/redmine_git_hosting.rake:71:in `block (2 levels) in <top (required)>'                                                                                     
/usr/share/rubygems-integration/all/gems/rake-13.0.6/exe/rake:27:in `<top (required)>'                   
Tasks: TOP => redmine_git_hosting:install_hook_files                                                     
(See full trace by running task with --trace)

@dosyfier dosyfier mentioned this pull request Sep 10, 2022
@PowerKiKi
Copy link
Collaborator

Thank you for your work so far. It has been superseded by #815

@PowerKiKi PowerKiKi closed this Sep 11, 2022
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

Successfully merging this pull request may close these issues.

Unable to install hooks via rake task

2 participants