{"action":"created","issue":{"url":"https://api.github.com/repos/bundler/bundler/issues/6753","repository_url":"https://api.github.com/repos/bundler/bundler","labels_url":"https://api.github.com/repos/bundler/bundler/issues/6753/labels{/name}","comments_url":"https://api.github.com/repos/bundler/bundler/issues/6753/comments","events_url":"https://api.github.com/repos/bundler/bundler/issues/6753/events","html_url":"https://github.com/bundler/bundler/issues/6753","id":372826381,"node_id":"MDU6SXNzdWUzNzI4MjYzODE=","number":6753,"title":"Bundle Install in MacOS 10.14 Mojave causing \"unexpected error\"","user":{"login":"syedrakib","id":975768,"node_id":"MDQ6VXNlcjk3NTc2OA==","avatar_url":"https://avatars2.githubusercontent.com/u/975768?v=4","gravatar_id":"","url":"https://api.github.com/users/syedrakib","html_url":"https://github.com/syedrakib","followers_url":"https://api.github.com/users/syedrakib/followers","following_url":"https://api.github.com/users/syedrakib/following{/other_user}","gists_url":"https://api.github.com/users/syedrakib/gists{/gist_id}","starred_url":"https://api.github.com/users/syedrakib/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/syedrakib/subscriptions","organizations_url":"https://api.github.com/users/syedrakib/orgs","repos_url":"https://api.github.com/users/syedrakib/repos","events_url":"https://api.github.com/users/syedrakib/events{/privacy}","received_events_url":"https://api.github.com/users/syedrakib/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-10-23T06:21:56Z","updated_at":"2018-11-05T06:05:39Z","closed_at":null,"author_association":"NONE","body":"Recently upgraded my MacOS to Mojave. Tried to run `bundle install` as usual. Faced `unexpected error`.\r\n\r\n    bundle install\r\n    Fetching gem metadata from https://rubygems.org/.\r\n    Retrying fetcher due to error (2/4): IOError uninitialized stream.\r\n    Retrying fetcher due to error (3/4): IOError stream closed.\r\n    Retrying fetcher due to error (4/4): IOError stream closed.\r\n\r\n--- ERROR REPORT TEMPLATE -------------------------------------------------------\r\n\r\n## Backtrace\r\n\r\n```\r\nIOError: uninitialized stream\r\n  /Users/rakib/.rvm/gems/ruby-2.3.1@my-app/gems/bundler-1.16.3/lib/bundler/compact_index_client/updater.rb:111:in `read'\r\n  /Users/rakib/.rvm/gems/ruby-2.3.1@my-app/gems/bundler-1.16.3/lib/bundler/compact_index_client/updater.rb:111:in `block in checksum_for_file'\r\n  /Users/rakib/.rvm/gems/ruby-2.3.1@my-app/gems/bundler-1.16.3/lib/bundler/shared_helpers.rb:118:in `filesystem_access'\r\n  /Users/rakib/.rvm/gems/ruby-2.3.1@my-app/gems/bundler-1.16.3/lib/bundler/compact_index_client/updater.rb:110:in `checksum_for_file'\r\n  /Users/rakib/.rvm/gems/ruby-2.3.1@my-app/gems/bundler-1.16.3/lib/bundler/compact_index_client.rb:88:in `update_info'\r\n  /Users/rakib/.rvm/gems/ruby-2.3.1@my-app/gems/bundler-1.16.3/lib/bundler/compact_index_client.rb:55:in `block in dependencies'\r\n  /Users/rakib/.rvm/gems/ruby-2.3.1@my-app/gems/bundler-1.16.3/lib/bundler/fetcher/compact_index.rb:88:in `block (3 levels) in compact_index_client'\r\n  /Users/rakib/.rvm/gems/ruby-2.3.1@my-app/gems/bundler-1.16.3/lib/bundler/worker.rb:64:in `apply_func'\r\n  /Users/rakib/.rvm/gems/ruby-2.3.1@my-app/gems/bundler-1.16.3/lib/bundler/worker.rb:59:in `block in process_queue'\r\n  /Users/rakib/.rvm/gems/ruby-2.3.1@my-app/gems/bundler-1.16.3/lib/bundler/worker.rb:56:in `loop'\r\n  /Users/rakib/.rvm/gems/ruby-2.3.1@my-app/gems/bundler-1.16.3/lib/bundler/worker.rb:56:in `process_queue'\r\n  /Users/rakib/.rvm/gems/ruby-2.3.1@my-app/gems/bundler-1.16.3/lib/bundler/worker.rb:90:in `block (2 levels) in create_threads'\r\n```\r\n\r\n## Environment\r\n\r\n```\r\nBundler       1.16.3\r\n  Platforms   ruby, x86_64-darwin-17\r\nRuby          2.3.1p112 (2016-04-26 revision 54768) [x86_64-darwin17]\r\n  Full Path   /Users/rakib/.rvm/rubies/ruby-2.3.1/bin/ruby\r\n  Config Dir  /Users/rakib/.rvm/rubies/ruby-2.3.1/etc\r\nRubyGems      2.7.7\r\n  Gem Home    /Users/rakib/.rvm/gems/ruby-2.3.1@my-app\r\n  Gem Path    /Users/rakib/.rvm/gems/ruby-2.3.1@my-app:/Users/rakib/.rvm/gems/ruby-2.3.1@global\r\n  User Path   /Users/rakib/.gem/ruby/2.3.0\r\n  Bin Dir     /Users/rakib/.rvm/gems/ruby-2.3.1@my-app/bin\r\nOpenSSL\r\n  Compiled    OpenSSL 1.0.2o  27 Mar 2018\r\n  Loaded      OpenSSL 1.0.2o  27 Mar 2018\r\n  Cert File   /usr/local/etc/openssl/cert.pem\r\n  Cert Dir    /usr/local/etc/openssl/certs\r\nTools\r\n  Git         2.6.2\r\n  RVM         1.29.4 (latest)\r\n  rbenv       not installed\r\n  chruby      not installed\r\n```\r\n\r\n## Bundler Build Metadata\r\n\r\n```\r\nBuilt At          2018-07-17\r\nGit SHA           12e73cab7\r\nReleased Version  true\r\n```\r\n\r\n--- TEMPLATE END ----------------------------------------------------------------\r\n\r\n```\r\nUnfortunately, an unexpected error occurred, and Bundler cannot continue.\r\n```"},"comment":{"url":"https://api.github.com/repos/bundler/bundler/issues/comments/435764376","html_url":"https://github.com/bundler/bundler/issues/6753#issuecomment-435764376","issue_url":"https://api.github.com/repos/bundler/bundler/issues/6753","id":435764376,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNTc2NDM3Ng==","user":{"login":"s-hocking","id":23046271,"node_id":"MDQ6VXNlcjIzMDQ2Mjcx","avatar_url":"https://avatars0.githubusercontent.com/u/23046271?v=4","gravatar_id":"","url":"https://api.github.com/users/s-hocking","html_url":"https://github.com/s-hocking","followers_url":"https://api.github.com/users/s-hocking/followers","following_url":"https://api.github.com/users/s-hocking/following{/other_user}","gists_url":"https://api.github.com/users/s-hocking/gists{/gist_id}","starred_url":"https://api.github.com/users/s-hocking/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/s-hocking/subscriptions","organizations_url":"https://api.github.com/users/s-hocking/orgs","repos_url":"https://api.github.com/users/s-hocking/repos","events_url":"https://api.github.com/users/s-hocking/events{/privacy}","received_events_url":"https://api.github.com/users/s-hocking/received_events","type":"User","site_admin":false},"created_at":"2018-11-05T06:05:39Z","updated_at":"2018-11-05T06:05:39Z","author_association":"NONE","body":"I had this same issue, but with rbenv. I did an `rbenv uninstall 2.3.3` and `rbenv install 2.3.3`, and also reinstalled Bundler for good measure. That fixed it!"}}
{"actor":{"display_login":"s-hocking"}}