Install Redmine 3.2.0 on Ubuntu 14.04

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Install Redmine 3.2.0 on Ubuntu 14.04相关的知识,希望对你有一定的参考价值。

To install redmine 3.2.0 on Ubuntu 14.04, mainly follow the tutorial:

HowTo Install Redmine 3.0.x on Ubuntu 14.04 with Apache2, Phusion Passenger, MySQL, Subversion and Git (Gitolite)

During the install process, some problems are encountered. The rest page will explain these problems and the related solutions.

1) Set the source of RubyGems and bundle gem

After install the ruby gem, set rubygems source.

$ rvm install 2.1.4

$ gem sources --add https://ruby.taobao.org/ --remove https://rubygems.org/
$ gem sources -l
*** CURRENT SOURCES ***

https://ruby.taobao.org

After install the bundle, set bundle gem mirror source.

$ gem install bundle

$ bundle config mirror.https://rubygems.org https://ruby.taobao.org

2) Miss gem ‘rbpdf-font‘

When run “bundle install” the first time,

[email protected]:~/redmine$ bundle install --without development test postgresql sqlite

Your Gemfile.lock is corrupt. The following gem is missing from the DEPENDENCIES section: ‘rbpdf-font‘

Solution

[email protected]:~/redmine$ gem install rbpdf-font

[email protected]:~/redmine$ rm Gemfile.lock

[email protected]:~/redmine$ bundle install --without development test postgresql sqlite

3) You cannot specify the same gem twice with different version requirements

When run “bundle install” the second time,

[!] There was an error parsing `Gemfile`: You cannot specify the same gem twice with different version requirements.
You specified: redcarpet (~> 3.3.2) and redcarpet (~> 3.1.2). Bundler cannot continue.

#  from /opt/redmine/redmine-3.2.0/plugins/redmine_git_hosting/Gemfile:9
#  -------------------------------------------
#  gem ‘gitlab-grack‘, git: ‘https://github.com/jbox-web/grack.git‘, require: ‘grack‘, branch: ‘fix_rails4‘
>  gem ‘redcarpet‘, ‘~> 3.1.2‘

#  -------------------------------------------
. Bundler cannot continue.

Solution

comment the line: /opt/redmine/redmine-3.2.0/plugins/redmine_git_hosting/Gemfile:9

以上是关于Install Redmine 3.2.0 on Ubuntu 14.04的主要内容,如果未能解决你的问题,请参考以下文章

Install a Redmine on Ubuntu system

CentOS 6.5 安装redmine项目管理系统

CentOS 7 安装 bitnami redmine

Redmine部署安装手记

redmine配置

Redmine出现500 Internal error错误