level 1
究极猫神
楼主
[root@yyj3 plugins]# rake redmine:plugins:migrate RAILS_ENV=production
(in /usr/local/redmine-2.6.6)
Please configure your config/database.yml first
Could not find gem 'roo (>= 0) ruby' in any of the gem sources listed in your Gemfile or available on this machine.
Run `bundle install` to install missing gems.
执行时报以上错误,然后我按他提示执行bundle install
Please configure your config/database.yml first
Fetching gem metadata from http://ruby.taobao.org/.........
Fetching gem metadata from http://ruby.taobao.org/.........
Fetching version metadata from http://ruby.taobao.org/..
Fetching version metadata from http://ruby.taobao.org/..
You have requested:
rubyzip < 1.0.0
The bundle currently has rubyzip locked at 1.1.7.
Try running `bundle update rubyzip`
再按他提示执行bundle update rubyzip
Please change your source to 'https://rubygems.org' if possible, or 'http://rubygems.org' if not.
Warning: this Gemfile contains multiple primary sources. Using `source` more than once without a block is a security risk, and may result in installing unexpected gems. To resolve this warning, use a block to indicate which gems should come from the secondary source. To upgrade this warning to an error, run `bundle config disable_multisource true`.
Fetching gem metadata from http://ruby.taobao.org/.........
Fetching gem metadata from http://ruby.taobao.org/.........
Fetching version metadata from http://ruby.taobao.org/..
Fetching version metadata from http://ruby.taobao.org/..
Resolving dependencies....
Bundler could not find compatible versions for gem "rubyzip":
In Gemfile:
selenium-webdriver (>= 0) ruby depends on
rubyzip (~> 1.0) ruby
rubyzip (< 1.0.0) ruby
2015年08月28日 10点08分
1
(in /usr/local/redmine-2.6.6)
Please configure your config/database.yml first
Could not find gem 'roo (>= 0) ruby' in any of the gem sources listed in your Gemfile or available on this machine.
Run `bundle install` to install missing gems.
执行时报以上错误,然后我按他提示执行bundle install
Please configure your config/database.yml first
Fetching gem metadata from http://ruby.taobao.org/.........
Fetching gem metadata from http://ruby.taobao.org/.........
Fetching version metadata from http://ruby.taobao.org/..
Fetching version metadata from http://ruby.taobao.org/..
You have requested:
rubyzip < 1.0.0
The bundle currently has rubyzip locked at 1.1.7.
Try running `bundle update rubyzip`
再按他提示执行bundle update rubyzip
Please change your source to 'https://rubygems.org' if possible, or 'http://rubygems.org' if not.
Warning: this Gemfile contains multiple primary sources. Using `source` more than once without a block is a security risk, and may result in installing unexpected gems. To resolve this warning, use a block to indicate which gems should come from the secondary source. To upgrade this warning to an error, run `bundle config disable_multisource true`.
Fetching gem metadata from http://ruby.taobao.org/.........
Fetching gem metadata from http://ruby.taobao.org/.........
Fetching version metadata from http://ruby.taobao.org/..
Fetching version metadata from http://ruby.taobao.org/..
Resolving dependencies....
Bundler could not find compatible versions for gem "rubyzip":
In Gemfile:
selenium-webdriver (>= 0) ruby depends on
rubyzip (~> 1.0) ruby
rubyzip (< 1.0.0) ruby