Upgrade issue from 6.5 to 7.13:bad URI
I am following this guide to upgrade, while at step 7.2, i got below error.
try few ways by google, not resolved.
Any one please help.
Thanks
Log: root@xxx:/home/git/gitlab# sudo -u git -H bundle install --without development test postgres --deployment --- ERROR REPORT TEMPLATE -------------------------------------------------------
-
What did you do?
I ran the command
/usr/local/bin/bundle install --without development test postgres --deployment
-
What did you expect to happen?
I expected Bundler to...
-
What happened instead?
Instead, what actually happened was...
Error details
URI::InvalidURIError: bad URI(is not URI?): install --deployment --without development/
/usr/local/lib/ruby/2.1.0/uri/common.rb:176:in `split'
/usr/local/lib/ruby/2.1.0/uri/common.rb:211:in `parse'
/usr/local/lib/ruby/2.1.0/uri/common.rb:747:in `parse'
/usr/local/lib/ruby/2.1.0/uri/common.rb:1232:in `URI'
/usr/local/lib/ruby/gems/2.1.0/gems/bundler-1.10.6/lib/bundler/settings.rb:250:in `normalize_uri'
/usr/local/lib/ruby/gems/2.1.0/gems/bundler-1.10.6/lib/bundler/settings.rb:80:in `block in gem_mirrors'
/usr/local/lib/ruby/gems/2.1.0/gems/bundler-1.10.6/lib/bundler/settings.rb:77:in `each'
/usr/local/lib/ruby/gems/2.1.0/gems/bundler-1.10.6/lib/bundler/settings.rb:77:in `inject'
/usr/local/lib/ruby/gems/2.1.0/gems/bundler-1.10.6/lib/bundler/settings.rb:77:in `gem_mirrors'
/usr/local/lib/ruby/gems/2.1.0/gems/bundler-1.10.6/lib/bundler/settings.rb:69:in `mirror_for'
/usr/local/lib/ruby/gems/2.1.0/gems/bundler-1.10.6/lib/bundler/source/rubygems/remote.rb:9:in `initialize'
/usr/local/lib/ruby/gems/2.1.0/gems/bundler-1.10.6/lib/bundler/source/rubygems.rb:221:in `new'
/usr/local/lib/ruby/gems/2.1.0/gems/bundler-1.10.6/lib/bundler/source/rubygems.rb:221:in `block in fetchers'
/usr/local/lib/ruby/gems/2.1.0/gems/bundler-1.10.6/lib/bundler/source/rubygems.rb:220:in `map'
/usr/local/lib/ruby/gems/2.1.0/gems/bundler-1.10.6/lib/bundler/source/rubygems.rb:220:in `fetchers'
/usr/local/lib/ruby/gems/2.1.0/gems/bundler-1.10.6/lib/bundler/source/rubygems.rb:325:in `block in remote_specs'
/usr/local/lib/ruby/gems/2.1.0/gems/bundler-1.10.6/lib/bundler/index.rb:9:in `build'
/usr/local/lib/ruby/gems/2.1.0/gems/bundler-1.10.6/lib/bundler/source/rubygems.rb:324:in `remote_specs'
/usr/local/lib/ruby/gems/2.1.0/gems/bundler-1.10.6/lib/bundler/source/rubygems.rb:81:in `specs'
/usr/local/lib/ruby/gems/2.1.0/gems/bundler-1.10.6/lib/bundler/lazy_specification.rb:53:in `__materialize__'
/usr/local/lib/ruby/gems/2.1.0/gems/bundler-1.10.6/lib/bundler/spec_set.rb:88:in `block in materialize'
/usr/local/lib/ruby/gems/2.1.0/gems/bundler-1.10.6/lib/bundler/spec_set.rb:85:in `map!'
/usr/local/lib/ruby/gems/2.1.0/gems/bundler-1.10.6/lib/bundler/spec_set.rb:85:in `materialize'
/usr/local/lib/ruby/gems/2.1.0/gems/bundler-1.10.6/lib/bundler/definition.rb:140:in `specs'
/usr/local/lib/ruby/gems/2.1.0/gems/bundler-1.10.6/lib/bundler/definition.rb:129:in `resolve_remotely!'
/usr/local/lib/ruby/gems/2.1.0/gems/bundler-1.10.6/lib/bundler/installer.rb:79:in `run'
/usr/local/lib/ruby/gems/2.1.0/gems/bundler-1.10.6/lib/bundler/installer.rb:18:in `install'
/usr/local/lib/ruby/gems/2.1.0/gems/bundler-1.10.6/lib/bundler/cli/install.rb:107:in `run'
/usr/local/lib/ruby/gems/2.1.0/gems/bundler-1.10.6/lib/bundler/cli.rb:162:in `install'
/usr/local/lib/ruby/gems/2.1.0/gems/bundler-1.10.6/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
/usr/local/lib/ruby/gems/2.1.0/gems/bundler-1.10.6/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'
/usr/local/lib/ruby/gems/2.1.0/gems/bundler-1.10.6/lib/bundler/vendor/thor/lib/thor.rb:359:in `dispatch'
/usr/local/lib/ruby/gems/2.1.0/gems/bundler-1.10.6/lib/bundler/vendor/thor/lib/thor/base.rb:440:in `start'
/usr/local/lib/ruby/gems/2.1.0/gems/bundler-1.10.6/lib/bundler/cli.rb:10:in `start'
/usr/local/lib/ruby/gems/2.1.0/gems/bundler-1.10.6/bin/bundle:20:in `block in <top (required)>'
/usr/local/lib/ruby/gems/2.1.0/gems/bundler-1.10.6/lib/bundler/friendly_errors.rb:7:in `with_friendly_errors'
/usr/local/lib/ruby/gems/2.1.0/gems/bundler-1.10.6/bin/bundle:18:in `<top (required)>'
/usr/local/bin/bundle:23:in `load'
/usr/local/bin/bundle:23:in `<main>'
Environment
Bundler 1.10.6
Rubygems 2.2.3
Ruby 2.1.6p336 (2015-04-13 revision 50298) [x86_64-linux]
GEM_HOME /home/git/gitlab/vendor/bundle/ruby/2.1.0
GEM_PATH
Git 1.9.1
Bundler settings
mirror.https://ruby.taobao.org/
Set for the current user (/home/git/.bundle/config): "install --deployment --without development"
mirror.https://rubygems.org/
Set for the current user (/home/git/.bundle/config): "https://ruby.taobao.org"
without
Set for your local app (/home/git/gitlab/.bundle/config): "development:test:postgres:mysql:aws"
frozen
Set for your local app (/home/git/gitlab/.bundle/config): "1"
path
Set for your local app (/home/git/gitlab/.bundle/config): "vendor/bundle"
disable_shared_gems
Set for your local app (/home/git/gitlab/.bundle/config): "1"
--- TEMPLATE END ----------------------------------------------------------------
Unfortunately, an unexpected error occurred, and Bundler cannot continue.
First, try this link to see if there are any existing issue reports for this error: https://github.com/bundler/bundler/search?q=bad+URI%28is+not+URI%3F%29%3A+install+--deployment+--without+development%2F&type=Issues
If there aren't any reports for this error yet, please create copy and paste the report template above into a new issue. Don't forget to anonymize any private data! The new issue form is located at: https://github.com/bundler/bundler/issues/new