标签:
To install redmine 3.2.0 on Ubuntu 14.04, mainly follow the tutorial:
During the install process, some problems are encountered. The rest page will explain these problems and the related solutions.
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
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‘
redmine@sonicwallFWServer:~/redmine$ gem install rbpdf-font
redmine@sonicwallFWServer:~/redmine$ rm Gemfile.lock
redmine@sonicwallFWServer:~/redmine$ bundle install --without development test postgresql sqlite
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.
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