{"action":"created","issue":{"url":"https://api.github.com/repos/bundler/bundler/issues/3398","labels_url":"https://api.github.com/repos/bundler/bundler/issues/3398/labels{/name}","comments_url":"https://api.github.com/repos/bundler/bundler/issues/3398/comments","events_url":"https://api.github.com/repos/bundler/bundler/issues/3398/events","html_url":"https://github.com/bundler/bundler/issues/3398","id":57675444,"number":3398,"title":"Problem with normalize_uri in 1.8.1","user":{"login":"pierre-pretorius","id":2392091,"avatar_url":"https://avatars.githubusercontent.com/u/2392091?v=3","gravatar_id":"","url":"https://api.github.com/users/pierre-pretorius","html_url":"https://github.com/pierre-pretorius","followers_url":"https://api.github.com/users/pierre-pretorius/followers","following_url":"https://api.github.com/users/pierre-pretorius/following{/other_user}","gists_url":"https://api.github.com/users/pierre-pretorius/gists{/gist_id}","starred_url":"https://api.github.com/users/pierre-pretorius/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pierre-pretorius/subscriptions","organizations_url":"https://api.github.com/users/pierre-pretorius/orgs","repos_url":"https://api.github.com/users/pierre-pretorius/repos","events_url":"https://api.github.com/users/pierre-pretorius/events{/privacy}","received_events_url":"https://api.github.com/users/pierre-pretorius/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-02-14T01:32:02Z","updated_at":"2015-02-14T07:48:07Z","closed_at":null,"body":"When running the following command with bundler 1.8.1, Ruby 2.2 and Ubuntu 12.04 (it's the command Capistrano uses):\r\n\r\n```\r\nbundle install --binstubs /opt/redmine/shared/bin --path /opt/redmine/shared/bundle --without development test --deployment\r\n```\r\n\r\nit fails with error:\r\n```\r\nArgumentError: Gem sources must be absolute. You provided 'build.httparty/'.\r\n/usr/local/lib/ruby/gems/2.2.0/gems/bundler-1.8.1/lib/bundler/settings.rb:191:in `normalize_uri'\r\n/usr/local/lib/ruby/gems/2.2.0/gems/bundler-1.8.1/lib/bundler/settings.rb:133:in `key_for'\r\n/usr/local/lib/ruby/gems/2.2.0/gems/bundler-1.8.1/lib/bundler/settings.rb:14:in `[]'\r\n/usr/local/lib/ruby/gems/2.2.0/gems/bundler-1.8.1/lib/bundler/installer.rb:99:in `install_gem_from_spec'\r\n/usr/local/lib/ruby/gems/2.2.0/gems/bundler-1.8.1/lib/bundler/installer.rb:263:in `block in install_sequentially'\r\n/usr/local/lib/ruby/2.2.0/forwardable.rb:183:in `each'\r\n/usr/local/lib/ruby/2.2.0/forwardable.rb:183:in `each'\r\n/usr/local/lib/ruby/gems/2.2.0/gems/bundler-1.8.1/lib/bundler/installer.rb:262:in `install_sequentially'\r\n/usr/local/lib/ruby/gems/2.2.0/gems/bundler-1.8.1/lib/bundler/installer.rb:90:in `run'\r\n/usr/local/lib/ruby/gems/2.2.0/gems/bundler-1.8.1/lib/bundler/installer.rb:18:in `install'\r\n/usr/local/lib/ruby/gems/2.2.0/gems/bundler-1.8.1/lib/bundler/cli/install.rb:80:in `run'\r\n/usr/local/lib/ruby/gems/2.2.0/gems/bundler-1.8.1/lib/bundler/cli.rb:157:in `install'\r\n/usr/local/lib/ruby/gems/2.2.0/gems/bundler-1.8.1/lib/bundler/vendor/thor/command.rb:27:in `run'\r\n/usr/local/lib/ruby/gems/2.2.0/gems/bundler-1.8.1/lib/bundler/vendor/thor/invocation.rb:121:in `invoke_command'\r\n/usr/local/lib/ruby/gems/2.2.0/gems/bundler-1.8.1/lib/bundler/vendor/thor.rb:363:in `dispatch'\r\n/usr/local/lib/ruby/gems/2.2.0/gems/bundler-1.8.1/lib/bundler/vendor/thor/base.rb:440:in `start'\r\n/usr/local/lib/ruby/gems/2.2.0/gems/bundler-1.8.1/lib/bundler/cli.rb:10:in `start'\r\n/usr/local/lib/ruby/gems/2.2.0/gems/bundler-1.8.1/bin/bundle:20:in `block in <top (required)>'\r\n/usr/local/lib/ruby/gems/2.2.0/gems/bundler-1.8.1/lib/bundler/friendly_errors.rb:6:in `with_friendly_errors'\r\n/usr/local/lib/ruby/gems/2.2.0/gems/bundler-1.8.1/bin/bundle:18:in `<top (required)>'\r\n/usr/local/bin/bundle:23:in `load'\r\n/usr/local/bin/bundle:23:in `<main>'\r\nAn error occurred while installing httparty (0.13.3), and Bundler cannot continue.\r\nMake sure that `gem install httparty -v '0.13.3'` succeeds before bundling.\r\n```\r\n\r\n**Installing httparty 0.13.3 with the gem command works fine.**\r\n**Bundler 1.3.5 (my previous version) installed the bundle successfully.  I reverted back to fix this problem.**\r\n\r\nPlease let me know if this is a problem with httparty instead so that I can log a issue there.  I couldn't see anything wrong with the gem.  I can provide the full bundler verbose log if required.\r\n"},"comment":{"url":"https://api.github.com/repos/bundler/bundler/issues/comments/74365974","html_url":"https://github.com/bundler/bundler/issues/3398#issuecomment-74365974","issue_url":"https://api.github.com/repos/bundler/bundler/issues/3398","id":74365974,"user":{"login":"brookr","id":11095,"avatar_url":"https://avatars.githubusercontent.com/u/11095?v=3","gravatar_id":"","url":"https://api.github.com/users/brookr","html_url":"https://github.com/brookr","followers_url":"https://api.github.com/users/brookr/followers","following_url":"https://api.github.com/users/brookr/following{/other_user}","gists_url":"https://api.github.com/users/brookr/gists{/gist_id}","starred_url":"https://api.github.com/users/brookr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brookr/subscriptions","organizations_url":"https://api.github.com/users/brookr/orgs","repos_url":"https://api.github.com/users/brookr/repos","events_url":"https://api.github.com/users/brookr/events{/privacy}","received_events_url":"https://api.github.com/users/brookr/received_events","type":"User","site_admin":false},"created_at":"2015-02-14T07:48:07Z","updated_at":"2015-02-14T07:48:07Z","body":"I hit this issue with `http_parser` and `httparty`. So glad I found this thread, thanks everyone!\r\n\r\nI'm working around it by reverting to bundler 1.8.0 for now: \r\n`gem uninstall bundler --version 1.8.1 && gem install bundler --version 1.8.0`"}}