redmine安装webhook

2016-10-03 14:06:15来源:oschina作者:saintli86人点击

docker容器中:


gem source --add /2014th7cj/d/file/p/20161003/w50ee22g42g --remove https://rubygems.org/


bundle install


要求安装11.2.2的rake


gem install rake -v 11.2.2


cd plugins/redmine_webhook


rake redmine:plugins:migrate RAILS_ENV=production


报错:


rake aborted! Gem::LoadError: You have already activated rake 11.2.2, but your Gemfile requires rake 11.3.0. Prepending `bundle exec` to your command may solve this. /var/lib/gems/2.1.0/gems/bundler-1.12.5/lib/bundler/runtime.rb:35:in `block in setup' /var/lib/gems/2.1.0/gems/bundler-1.12.5/lib/bundler/runtime.rb:20:in `map' /var/lib/gems/2.1.0/gems/bundler-1.12.5/lib/bundler/runtime.rb:20:in `setup' /var/lib/gems/2.1.0/gems/bundler-1.12.5/lib/bundler.rb:95:in `setup' /var/lib/gems/2.1.0/gems/bundler-1.12.5/lib/bundler/setup.rb:9:in `' /home/redmine/redmine/config/boot.rb:4:in `' /home/redmine/redmine/config/application.rb:1:in `' /home/redmine/redmine/Rakefile:5:in `' LoadError: cannot load such file -- bundler/setup /home/redmine/redmine/config/boot.rb:4:in `' /home/redmine/redmine/config/application.rb:1:in `' /home/redmine/redmine/Rakefile:5:in `' (See full trace by running task with --trace)


使用方法:


bundle exec rake redmine:plugins:migrate RAILS_ENV=production


解决

最新文章

123

最新摄影

微信扫一扫

第七城市微信公众平台