更換淘寶源:html
$ gem sources --add https://ruby.taobao.org/ --remove https://rubygems.org/ $ gem sources -l *** CURRENT SOURCES *** https://ruby.taobao.org # 請確保只有 ruby.taobao.org $ gem install rails
https://ruby.taobao.org/git
修改redmin路徑下的Gemfile,而後使用bundle install安裝github
==============web
安裝redmine的webhookruby
cd $REDMINE_ROOT/pluginsui
git clone git://github.com/suer/redmine_webhook.gitcode
bundle installhtm
rake redmine:plugins:migrate RAILS_ENV=productionrem
-------get
報錯:
You have already activated rake 10.0.2, but your Gemfile requires rake 11.1.1.
run
$ bundle update rake
that worked for me.
see the documentation. http://bundler.io/v1.3/man/bundle-update.1.html
http://stackoverflow.com/questions/36024048/rails-getting-rake-error