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