Install Redmine 3.2.0 on Ubuntu 14.04

Source: Internet
Author: User
Tags postgresql sqlite redmine

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 is encountered. The rest page would 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 a 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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.