{"action":"created","issue":{"url":"https://api.github.com/repos/bundler/bundler/issues/3686","labels_url":"https://api.github.com/repos/bundler/bundler/issues/3686/labels{/name}","comments_url":"https://api.github.com/repos/bundler/bundler/issues/3686/comments","events_url":"https://api.github.com/repos/bundler/bundler/issues/3686/events","html_url":"https://github.com/bundler/bundler/issues/3686","id":82365500,"number":3686,"title":"No such file or directory @ rb_file_s_stat - MIT-LICENSE","user":{"login":"kdisneur","id":822839,"avatar_url":"https://avatars.githubusercontent.com/u/822839?v=3","gravatar_id":"","url":"https://api.github.com/users/kdisneur","html_url":"https://github.com/kdisneur","followers_url":"https://api.github.com/users/kdisneur/followers","following_url":"https://api.github.com/users/kdisneur/following{/other_user}","gists_url":"https://api.github.com/users/kdisneur/gists{/gist_id}","starred_url":"https://api.github.com/users/kdisneur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kdisneur/subscriptions","organizations_url":"https://api.github.com/users/kdisneur/orgs","repos_url":"https://api.github.com/users/kdisneur/repos","events_url":"https://api.github.com/users/kdisneur/events{/privacy}","received_events_url":"https://api.github.com/users/kdisneur/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-05-29T10:13:53Z","updated_at":"2015-05-29T15:05:12Z","closed_at":null,"body":"- What did you do?\r\n\r\n  I ran the command `/home/ubuntu/.rvm/gems/ruby-2.1.6@global/bin/bundle install --path=../vendor/bundle`\r\n  We use Circle-CI and we update bundler each time we run the tests. The tests had no gem updates, just some view related code.\r\nTests were green yesterday and now they are all failing (a rebuild of master leads to a fail also). \r\n\r\n- What did you expect to happen?\r\n\r\n  I expected Bundler to install my gems as usual\r\n\r\n- What happened instead?\r\n\r\n  Instead, what actually happened was...\r\n\r\nError details\r\n\r\n    Errno::ENOENT: No such file or directory @ rb_file_s_stat - MIT-LICENSE\r\n      /home/ubuntu/.rvm/rubies/ruby-2.1.6/lib/ruby/site_ruby/2.1.0/rubygems/specification.rb:2716:in `stat'\r\n      /home/ubuntu/.rvm/rubies/ruby-2.1.6/lib/ruby/site_ruby/2.1.0/rubygems/specification.rb:2716:in `block in validate_permissions'\r\n      /home/ubuntu/.rvm/rubies/ruby-2.1.6/lib/ruby/site_ruby/2.1.0/rubygems/specification.rb:2715:in `each'\r\n      /home/ubuntu/.rvm/rubies/ruby-2.1.6/lib/ruby/site_ruby/2.1.0/rubygems/specification.rb:2715:in `validate_permissions'\r\n      /home/ubuntu/.rvm/rubies/ruby-2.1.6/lib/ruby/site_ruby/2.1.0/rubygems/specification.rb:2582:in `validate'\r\n      /home/ubuntu/.rvm/gems/ruby-2.1.6@global/gems/bundler-1.10.1/lib/bundler/rubygems_integration.rb:51:in `block in validate'\r\n      /home/ubuntu/.rvm/gems/ruby-2.1.6@global/gems/bundler-1.10.1/lib/bundler/ui/shell.rb:76:in `silence'\r\n      /home/ubuntu/.rvm/gems/ruby-2.1.6@global/gems/bundler-1.10.1/lib/bundler/rubygems_integration.rb:51:in `validate'\r\n      /home/ubuntu/.rvm/gems/ruby-2.1.6@global/gems/bundler-1.10.1/lib/bundler.rb:369:in `block in load_gemspec_uncached'\r\n      /home/ubuntu/.rvm/gems/ruby-2.1.6@global/gems/bundler-1.10.1/lib/bundler/shared_helpers.rb:53:in `chdir'\r\n      /home/ubuntu/.rvm/gems/ruby-2.1.6@global/gems/bundler-1.10.1/lib/bundler/shared_helpers.rb:53:in `block in chdir'\r\n      /home/ubuntu/.rvm/rubies/ruby-2.1.6/lib/ruby/2.1.0/monitor.rb:211:in `mon_synchronize'\r\n      /home/ubuntu/.rvm/gems/ruby-2.1.6@global/gems/bundler-1.10.1/lib/bundler/shared_helpers.rb:52:in `chdir'\r\n      /home/ubuntu/.rvm/gems/ruby-2.1.6@global/gems/bundler-1.10.1/lib/bundler.rb:362:in `load_gemspec_uncached'\r\n      /home/ubuntu/.rvm/gems/ruby-2.1.6@global/gems/bundler-1.10.1/lib/bundler.rb:352:in `load_gemspec'\r\n      /home/ubuntu/.rvm/gems/ruby-2.1.6@global/gems/bundler-1.10.1/lib/bundler/source/path.rb:134:in `block in load_spec_files'\r\n      /home/ubuntu/.rvm/gems/ruby-2.1.6@global/gems/bundler-1.10.1/lib/bundler/source/path.rb:133:in `each'\r\n      /home/ubuntu/.rvm/gems/ruby-2.1.6@global/gems/bundler-1.10.1/lib/bundler/source/path.rb:133:in `load_spec_files'\r\n      /home/ubuntu/.rvm/gems/ruby-2.1.6@global/gems/bundler-1.10.1/lib/bundler/source/git.rb:189:in `load_spec_files'\r\n      /home/ubuntu/.rvm/gems/ruby-2.1.6@global/gems/bundler-1.10.1/lib/bundler/source/path.rb:91:in `local_specs'\r\n      /home/ubuntu/.rvm/gems/ruby-2.1.6@global/gems/bundler-1.10.1/lib/bundler/source/git.rb:159:in `specs'\r\n      /home/ubuntu/.rvm/gems/ruby-2.1.6@global/gems/bundler-1.10.1/lib/bundler/definition.rb:210:in `block (2 levels) in index'\r\n      /home/ubuntu/.rvm/gems/ruby-2.1.6@global/gems/bundler-1.10.1/lib/bundler/definition.rb:208:in `each'\r\n      /home/ubuntu/.rvm/gems/ruby-2.1.6@global/gems/bundler-1.10.1/lib/bundler/definition.rb:208:in `block in index'\r\n      /home/ubuntu/.rvm/gems/ruby-2.1.6@global/gems/bundler-1.10.1/lib/bundler/index.rb:9:in `build'\r\n      /home/ubuntu/.rvm/gems/ruby-2.1.6@global/gems/bundler-1.10.1/lib/bundler/definition.rb:205:in `index'\r\n      /home/ubuntu/.rvm/gems/ruby-2.1.6@global/gems/bundler-1.10.1/lib/bundler/definition.rb:199:in `resolve'\r\n      /home/ubuntu/.rvm/gems/ruby-2.1.6@global/gems/bundler-1.10.1/lib/bundler/definition.rb:165:in `missing_specs'\r\n      /home/ubuntu/.rvm/gems/ruby-2.1.6@global/gems/bundler-1.10.1/lib/bundler/installer.rb:70:in `block in run'\r\n      /home/ubuntu/.rvm/gems/ruby-2.1.6@global/gems/bundler-1.10.1/lib/bundler/ui/shell.rb:76:in `silence'\r\n      /home/ubuntu/.rvm/gems/ruby-2.1.6@global/gems/bundler-1.10.1/lib/bundler/installer.rb:67:in `run'\r\n      /home/ubuntu/.rvm/gems/ruby-2.1.6@global/gems/bundler-1.10.1/lib/bundler/installer.rb:18:in `install'\r\n      /home/ubuntu/.rvm/gems/ruby-2.1.6@global/gems/bundler-1.10.1/lib/bundler/cli/install.rb:107:in `run'\r\n      /home/ubuntu/.rvm/gems/ruby-2.1.6@global/gems/bundler-1.10.1/lib/bundler/cli.rb:158:in `install'\r\n      /home/ubuntu/.rvm/gems/ruby-2.1.6@global/gems/bundler-1.10.1/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'\r\n      /home/ubuntu/.rvm/gems/ruby-2.1.6@global/gems/bundler-1.10.1/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'\r\n      /home/ubuntu/.rvm/gems/ruby-2.1.6@global/gems/bundler-1.10.1/lib/bundler/vendor/thor/lib/thor.rb:359:in `dispatch'\r\n      /home/ubuntu/.rvm/gems/ruby-2.1.6@global/gems/bundler-1.10.1/lib/bundler/vendor/thor/lib/thor/base.rb:440:in `start'\r\n      /home/ubuntu/.rvm/gems/ruby-2.1.6@global/gems/bundler-1.10.1/lib/bundler/cli.rb:10:in `start'\r\n      /home/ubuntu/.rvm/gems/ruby-2.1.6@global/gems/bundler-1.10.1/bin/bundle:20:in `block in <top (required)>'\r\n      /home/ubuntu/.rvm/gems/ruby-2.1.6@global/gems/bundler-1.10.1/lib/bundler/friendly_errors.rb:7:in `with_friendly_errors'\r\n      /home/ubuntu/.rvm/gems/ruby-2.1.6@global/gems/bundler-1.10.1/bin/bundle:18:in `<top (required)>'\r\n      /home/ubuntu/.rvm/gems/ruby-2.1.6@global/bin/bundle:23:in `load'\r\n      /home/ubuntu/.rvm/gems/ruby-2.1.6@global/bin/bundle:23:in `<main>'\r\n      /home/ubuntu/.rvm/gems/ruby-2.1.6@global/bin/ruby_executable_hooks:15:in `eval'\r\n      /home/ubuntu/.rvm/gems/ruby-2.1.6@global/bin/ruby_executable_hooks:15:in `<main>'\r\n\r\nEnvironment\r\n\r\n    Bundler   1.10.1\r\n    Rubygems  2.4.6\r\n    Ruby      2.1.6p336 (2015-04-13 revision 50298) [x86_64-linux]\r\n    GEM_HOME  /home/ubuntu/<project>/vendor/bundle/ruby/2.1.0\r\n    GEM_PATH  \r\n    RVM       1.26.10 (1.26.10)\r\n    Git       1.8.5.6\r\n\r\nBundler settings\r\n\r\n    path\r\n      Set for your local app (/home/ubuntu/<project>/.bundle/config): \"../vendor/bundle\"\r\n    disable_shared_gems\r\n      Set for your local app (/home/ubuntu/<project>/.bundle/config): \"1\"\r\n"},"comment":{"url":"https://api.github.com/repos/bundler/bundler/issues/comments/106840637","html_url":"https://github.com/bundler/bundler/issues/3686#issuecomment-106840637","issue_url":"https://api.github.com/repos/bundler/bundler/issues/3686","id":106840637,"user":{"login":"kdisneur","id":822839,"avatar_url":"https://avatars.githubusercontent.com/u/822839?v=3","gravatar_id":"","url":"https://api.github.com/users/kdisneur","html_url":"https://github.com/kdisneur","followers_url":"https://api.github.com/users/kdisneur/followers","following_url":"https://api.github.com/users/kdisneur/following{/other_user}","gists_url":"https://api.github.com/users/kdisneur/gists{/gist_id}","starred_url":"https://api.github.com/users/kdisneur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kdisneur/subscriptions","organizations_url":"https://api.github.com/users/kdisneur/orgs","repos_url":"https://api.github.com/users/kdisneur/repos","events_url":"https://api.github.com/users/kdisneur/events{/privacy}","received_events_url":"https://api.github.com/users/kdisneur/received_events","type":"User","site_admin":false},"created_at":"2015-05-29T15:05:12Z","updated_at":"2015-05-29T15:05:12Z","body":"@segiddins yup could be awesome\r\n\r\n@jvanbaarsen I debugged it the ugly way: opening `rubygems/specification.rb:2716` and `puts` the name of the gem in a rescue before raising. OK it's not neat at all but, at least, you find the problem quickly :D "}}