Skip to content

Unable to install hooks via rake task #805

@acosonic

Description

@acosonic

Code below shows error as well:

user@redmine:~/redmine$ RAILS_ENV=production rake redmine_git_hosting:install_gitolite_hooks
The dependency tzinfo-data (>= 0) will be unused by any of the platforms Bundler is installing for. Bundler is installing for ruby but the dependency is only for x86-mingw32, x64-mingw32, x86-mswin32. To add those platforms to the bundle, run `bundle lock --add-platform x86-mingw32 x64-mingw32 x86-mswin32`.
The dependency ffi (>= 0) will be unused by any of the platforms Bundler is installing for. Bundler is installing for ruby but the dependency is only for x86-mingw32, x64-mingw32, x86-mswin32. To add those platforms to the bundle, run `bundle lock --add-platform x86-mingw32 x64-mingw32 x86-mswin32`.

 * Installing/updating Gitolite hooks:
rake aborted!
NameError: undefined local variable or method `block' for RedmineGitHosting::ConsoleLogger:Module
/home/user/redmine/plugins/redmine_git_hosting/lib/redmine_git_hosting/console_logger.rb:9:in `title'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions