安装插件“redmine_git_hosting”时出现错误:
/opt/bitnami/ruby/bin/.ruby.bin: symbol lookup error: /opt/bitnami/apps/redmine/htdocs/vendor/bundle/ruby/2.0.0/gems/rugged-0.21.4/lib/rugged/rugged.so: undefined symbol: libssh2_session_init_ex
Redmine 3.0.0.stable
Environment:
Redmine version 3.0.0.stable
Ruby version 2.0.0-p598 (2014-11-13) [x86_64-linux]
Rails version 4.2.0
Environment production
Database adapter Mysql2
SCM:
Subversion 1.8.10
Cvs 1.12.13
Git 1.9.5
Filesystem
Redmine plugins:
redmine_bootstrap_kit 0.2.1
redmine_git_hosting 1.0.2
答案 0 :(得分:0)
由于Bitnami覆盖了构建本机Ruby所需的一些内部路径 在安装Redmine之前,你必须自己编译libgit2 Git Hosting。
http://jbox-web.github.io/redmine_git_hosting/guide/bitnami-installation/