{"action":"created","issue":{"url":"https://api.github.com/repos/bundler/bundler/issues/4125","labels_url":"https://api.github.com/repos/bundler/bundler/issues/4125/labels{/name}","comments_url":"https://api.github.com/repos/bundler/bundler/issues/4125/comments","events_url":"https://api.github.com/repos/bundler/bundler/issues/4125/events","html_url":"https://github.com/bundler/bundler/pull/4125","id":119112627,"number":4125,"title":"Remove -I option from alias in DEVELOPMENT.md.","user":{"login":"stantona","id":675284,"avatar_url":"https://avatars.githubusercontent.com/u/675284?v=3","gravatar_id":"","url":"https://api.github.com/users/stantona","html_url":"https://github.com/stantona","followers_url":"https://api.github.com/users/stantona/followers","following_url":"https://api.github.com/users/stantona/following{/other_user}","gists_url":"https://api.github.com/users/stantona/gists{/gist_id}","starred_url":"https://api.github.com/users/stantona/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stantona/subscriptions","organizations_url":"https://api.github.com/users/stantona/orgs","repos_url":"https://api.github.com/users/stantona/repos","events_url":"https://api.github.com/users/stantona/events{/privacy}","received_events_url":"https://api.github.com/users/stantona/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-11-27T00:07:54Z","updated_at":"2015-11-27T00:14:55Z","closed_at":"2015-11-27T00:10:57Z","pull_request":{"url":"https://api.github.com/repos/bundler/bundler/pulls/4125","html_url":"https://github.com/bundler/bundler/pull/4125","diff_url":"https://github.com/bundler/bundler/pull/4125.diff","patch_url":"https://github.com/bundler/bundler/pull/4125.patch"},"body":"Loading lib/ into `$LOAD_PATH` causes the following:\r\n\r\n[03:46 PM][~/src/clio/themis][b3bbbeb:master $] $ ruby -I ~/src/bundler/lib ~/src/bundler/exe/bundle\r\n--- ERROR REPORT TEMPLATE -------------------------------------------------------\r\n- What did you do?\r\n\r\n  I ran the command `/home/adam/src/bundler/exe/bundle `\r\n\r\n- What did you expect to happen?\r\n\r\n  I expected Bundler to...\r\n\r\n- What happened instead?\r\n\r\n  Instead, what actually happened was...\r\n\r\n\r\nError details\r\n\r\n    RuntimeError: LazySpecification has not been materialized yet (calling :required_ruby_version [])\r\n      /home/adam/src/bundler/lib/bundler/lazy_specification.rb:75:in `method_missing'\r\n      /home/adam/src/bundler/lib/bundler/resolver.rb:133:in `for?'\r\n      /home/adam/src/bundler/lib/bundler/resolver.rb:277:in `block in search_for'\r\n      /home/adam/src/bundler/lib/bundler/resolver.rb:277:in `select'\r\n      /home/adam/src/bundler/lib/bundler/resolver.rb:277:in `search_for'\r\n      /home/adam/src/bundler/lib/bundler/resolver.rb:330:in `block in verify_gemfile_dependencies_are_found!'\r\n      /home/adam/src/bundler/lib/bundler/resolver.rb:328:in `each'\r\n      /home/adam/src/bundler/lib/bundler/resolver.rb:328:in `verify_gemfile_dependencies_are_found!'\r\n      /home/adam/src/bundler/lib/bundler/resolver.rb:201:in `start'\r\n      /home/adam/src/bundler/lib/bundler/resolver.rb:185:in `resolve'\r\n      /home/adam/src/bundler/lib/bundler/definition.rb:200:in `resolve'\r\n      /home/adam/src/bundler/lib/bundler/definition.rb:165:in `missing_specs'\r\n      /home/adam/src/bundler/lib/bundler/installer.rb:231:in `block in resolve_if_need'\r\n      /home/adam/src/bundler/lib/bundler/ui/shell.rb:79:in `silence'\r\n      /home/adam/src/bundler/lib/bundler/installer.rb:228:in `resolve_if_need'\r\n      /home/adam/src/bundler/lib/bundler/installer.rb:68:in `run'\r\n      /home/adam/src/bundler/lib/bundler/installer.rb:20:in `install'\r\n      /home/adam/src/bundler/lib/bundler/cli/install.rb:107:in `run'\r\n      /home/adam/src/bundler/lib/bundler/cli.rb:172:in `install'\r\n      /home/adam/src/bundler/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'\r\n      /home/adam/src/bundler/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'\r\n      /home/adam/src/bundler/lib/bundler/vendor/thor/lib/thor.rb:359:in `dispatch'\r\n      /home/adam/src/bundler/lib/bundler/vendor/thor/lib/thor/base.rb:440:in `start'\r\n      /home/adam/src/bundler/lib/bundler/cli.rb:10:in `start'\r\n      /home/adam/src/bundler/exe/bundle:20:in `block in <main>'\r\n      /home/adam/src/bundler/lib/bundler/friendly_errors.rb:7:in `with_friendly_errors'\r\n      /home/adam/src/bundler/exe/bundle:18:in `<main>'\r\n\r\nEnvironment\r\n\r\n    Bundler   1.10.6\r\n    Rubygems  2.2.2\r\n    Ruby      2.1.4p265 (2014-10-27 revision 48166) [x86_64-linux]\r\n    GEM_HOME  /home/adam/.gem/ruby/2.1.4\r\n    GEM_PATH  /home/adam/.gem/ruby/2.1.4:/home/adam/.rubies/ruby-2.1.4/lib/ruby/gems/2.1.0\r\n    Git       1.9.1\r\n--- TEMPLATE END ----------------------------------------------------------------\r\n\r\n* This seem to have been introduced in 1.10.6 when the bundle script was moved from\r\n  bin/ to exe/.\r\n* Removing the option allows the alias to work as expected."},"comment":{"url":"https://api.github.com/repos/bundler/bundler/issues/comments/160009056","html_url":"https://github.com/bundler/bundler/pull/4125#issuecomment-160009056","issue_url":"https://api.github.com/repos/bundler/bundler/issues/4125","id":160009056,"user":{"login":"stantona","id":675284,"avatar_url":"https://avatars.githubusercontent.com/u/675284?v=3","gravatar_id":"","url":"https://api.github.com/users/stantona","html_url":"https://github.com/stantona","followers_url":"https://api.github.com/users/stantona/followers","following_url":"https://api.github.com/users/stantona/following{/other_user}","gists_url":"https://api.github.com/users/stantona/gists{/gist_id}","starred_url":"https://api.github.com/users/stantona/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stantona/subscriptions","organizations_url":"https://api.github.com/users/stantona/orgs","repos_url":"https://api.github.com/users/stantona/repos","events_url":"https://api.github.com/users/stantona/events{/privacy}","received_events_url":"https://api.github.com/users/stantona/received_events","type":"User","site_admin":false},"created_at":"2015-11-27T00:14:55Z","updated_at":"2015-11-27T00:14:55Z","body":"Ok, hmm. So if I run `ruby ~/src/bundler/exe/bundle`, with -I, I'm actually running the same version of bundler as `bundle install`? \r\n\r\nIf you like, I can create a new issue."}}