{"action":"created","issue":{"url":"https://api.github.com/repos/jarmo/require_all/issues/26","repository_url":"https://api.github.com/repos/jarmo/require_all","labels_url":"https://api.github.com/repos/jarmo/require_all/issues/26/labels{/name}","comments_url":"https://api.github.com/repos/jarmo/require_all/issues/26/comments","events_url":"https://api.github.com/repos/jarmo/require_all/issues/26/events","html_url":"https://github.com/jarmo/require_all/issues/26","id":309069187,"node_id":"MDU6SXNzdWUzMDkwNjkxODc=","number":26,"title":"\"Could not require ... (uninitialized constant ...)\" with 2.0.0","user":{"login":"kamenlitchev","id":1465314,"node_id":"MDQ6VXNlcjE0NjUzMTQ=","avatar_url":"https://avatars3.githubusercontent.com/u/1465314?v=4","gravatar_id":"","url":"https://api.github.com/users/kamenlitchev","html_url":"https://github.com/kamenlitchev","followers_url":"https://api.github.com/users/kamenlitchev/followers","following_url":"https://api.github.com/users/kamenlitchev/following{/other_user}","gists_url":"https://api.github.com/users/kamenlitchev/gists{/gist_id}","starred_url":"https://api.github.com/users/kamenlitchev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kamenlitchev/subscriptions","organizations_url":"https://api.github.com/users/kamenlitchev/orgs","repos_url":"https://api.github.com/users/kamenlitchev/repos","events_url":"https://api.github.com/users/kamenlitchev/events{/privacy}","received_events_url":"https://api.github.com/users/kamenlitchev/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":11,"created_at":"2018-03-27T17:47:52Z","updated_at":"2018-06-25T20:19:45Z","closed_at":"2018-03-27T18:10:16Z","author_association":"NONE","body":"Hello,\r\n\r\nI have a Cucumber project which uses require_all to, well, require some files in project subdirs. Since 2.0.0 whenever I try running the Cucumber tests (`cucumber features`), I get an error that:\r\n\r\n> Could not require C:/no_such_file/app/model/bbb.rb (uninitialized constant Model::Ccc). Please require the necessary files (RequireAll::LoadError)\r\n\r\nFull stacktrace is:\r\n\r\n```\r\nC:\\no_such_file>cucumber features\r\nCould not require C:/no_such_file/app/model/bbb.rb (uninitialized constant Model::Ccc). Please require the necessary files (RequireAll::LoadError)\r\nC:/Programs/Ruby_x64/lib/ruby/gems/2.5.0/gems/require_all-2.0.0/lib/require_all.rb:102:in `rescue in block in require_all'\r\nC:/Programs/Ruby_x64/lib/ruby/gems/2.5.0/gems/require_all-2.0.0/lib/require_all.rb:97:in `block in require_all'\r\nC:/Programs/Ruby_x64/lib/ruby/gems/2.5.0/gems/require_all-2.0.0/lib/require_all.rb:96:in `each'\r\nC:/Programs/Ruby_x64/lib/ruby/gems/2.5.0/gems/require_all-2.0.0/lib/require_all.rb:96:in `require_all'\r\nC:/no_such_file/features/support/env.rb:3:in `<top (required)>'\r\nC:/Programs/Ruby_x64/lib/ruby/gems/2.5.0/gems/cucumber-3.1.0/lib/cucumber/glue/registry_and_more.rb:106:in `load'\r\nC:/Programs/Ruby_x64/lib/ruby/gems/2.5.0/gems/cucumber-3.1.0/lib/cucumber/glue/registry_and_more.rb:106:in `load_code_file'\r\nC:/Programs/Ruby_x64/lib/ruby/gems/2.5.0/gems/cucumber-3.1.0/lib/cucumber/runtime/support_code.rb:147:in `load_file'\r\nC:/Programs/Ruby_x64/lib/ruby/gems/2.5.0/gems/cucumber-3.1.0/lib/cucumber/runtime/support_code.rb:88:in `block in load_files!'\r\nC:/Programs/Ruby_x64/lib/ruby/gems/2.5.0/gems/cucumber-3.1.0/lib/cucumber/runtime/support_code.rb:87:in `each'\r\nC:/Programs/Ruby_x64/lib/ruby/gems/2.5.0/gems/cucumber-3.1.0/lib/cucumber/runtime/support_code.rb:87:in `load_files!'\r\nC:/Programs/Ruby_x64/lib/ruby/gems/2.5.0/gems/cucumber-3.1.0/lib/cucumber/runtime.rb:270:in `load_step_definitions'\r\nC:/Programs/Ruby_x64/lib/ruby/gems/2.5.0/gems/cucumber-3.1.0/lib/cucumber/runtime.rb:67:in `run!'\r\nC:/Programs/Ruby_x64/lib/ruby/gems/2.5.0/gems/cucumber-3.1.0/lib/cucumber/cli/main.rb:33:in `execute!'\r\nC:/Programs/Ruby_x64/lib/ruby/gems/2.5.0/gems/cucumber-3.1.0/bin/cucumber:9:in `<top (required)>'\r\nC:/Programs/Ruby_x64/bin/cucumber:23:in `load'\r\nC:/Programs/Ruby_x64/bin/cucumber:23:in `<main>'\r\n```\r\n\r\nReverting to 1.5.0 solves the issue.\r\n\r\nEnvironment is: Windows 10 x64, Ruby 2.5.0-2 x64 (Ruby installer). Project is newly set with \"bundle install\" and no gemfile.lock.\r\n\r\nSee attached file for a sample project: [no_such_file.zip](https://github.com/jarmo/require_all/files/1853130/no_such_file.zip). To reproduce, `bundle install` in the project directory then `cucumber features`"},"comment":{"url":"https://api.github.com/repos/jarmo/require_all/issues/comments/400082128","html_url":"https://github.com/jarmo/require_all/issues/26#issuecomment-400082128","issue_url":"https://api.github.com/repos/jarmo/require_all/issues/26","id":400082128,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMDA4MjEyOA==","user":{"login":"DannyBen","id":2405099,"node_id":"MDQ6VXNlcjI0MDUwOTk=","avatar_url":"https://avatars1.githubusercontent.com/u/2405099?v=4","gravatar_id":"","url":"https://api.github.com/users/DannyBen","html_url":"https://github.com/DannyBen","followers_url":"https://api.github.com/users/DannyBen/followers","following_url":"https://api.github.com/users/DannyBen/following{/other_user}","gists_url":"https://api.github.com/users/DannyBen/gists{/gist_id}","starred_url":"https://api.github.com/users/DannyBen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DannyBen/subscriptions","organizations_url":"https://api.github.com/users/DannyBen/orgs","repos_url":"https://api.github.com/users/DannyBen/repos","events_url":"https://api.github.com/users/DannyBen/events{/privacy}","received_events_url":"https://api.github.com/users/DannyBen/received_events","type":"User","site_admin":false},"created_at":"2018-06-25T20:19:45Z","updated_at":"2018-06-25T20:19:45Z","author_association":"NONE","body":"> then it (hopefully) means that you also have one less dependency to worry about \r\n\r\nWell... not exactly... I replaced it with [this one][1]...  :trollface: \r\n\r\n\r\n[1]: https://github.com/dannyben/requires\r\n\r\n"}}
{"actor":{"display_login":"DannyBen"}}