码迷,mamicode.com
首页 > 系统相关 > 详细

Install Redmine 3.2.0 on Ubuntu 14.04

时间:2016-02-27 18:06:56      阅读:1225      评论:0      收藏:0      [点我收藏+]

标签:

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,

redmine@sonicwallFWServer:~/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

redmine@sonicwallFWServer:~/redmine$ gem install rbpdf-font

redmine@sonicwallFWServer:~/redmine$ rm Gemfile.lock

redmine@sonicwallFWServer:~/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

标签:

原文地址:http://www.cnblogs.com/luckysimple/p/5223219.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!