{"action":"created","issue":{"url":"https://api.github.com/repos/bundler/bundler/issues/3573","labels_url":"https://api.github.com/repos/bundler/bundler/issues/3573/labels{/name}","comments_url":"https://api.github.com/repos/bundler/bundler/issues/3573/comments","events_url":"https://api.github.com/repos/bundler/bundler/issues/3573/events","html_url":"https://github.com/bundler/bundler/issues/3573","id":68953043,"number":3573,"title":"bundle exec error","user":{"login":"sroller","id":596136,"avatar_url":"https://avatars.githubusercontent.com/u/596136?v=3","gravatar_id":"","url":"https://api.github.com/users/sroller","html_url":"https://github.com/sroller","followers_url":"https://api.github.com/users/sroller/followers","following_url":"https://api.github.com/users/sroller/following{/other_user}","gists_url":"https://api.github.com/users/sroller/gists{/gist_id}","starred_url":"https://api.github.com/users/sroller/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sroller/subscriptions","organizations_url":"https://api.github.com/users/sroller/orgs","repos_url":"https://api.github.com/users/sroller/repos","events_url":"https://api.github.com/users/sroller/events{/privacy}","received_events_url":"https://api.github.com/users/sroller/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-04-16T15:49:28Z","updated_at":"2015-04-16T19:10:18Z","closed_at":null,"body":"I tried to exec a script in the context of bundle. The call crashed right away.\r\n\r\n\r\nError details\r\n\r\n    Errno::ENOEXEC: Exec format error - send_saved_filters.rb\r\n    C:/RUBY/lib/ruby/gems/2.1.0/gems/bundler-1.9.4/lib/bundler/cli/exec.rb:30:in `exec'\r\n    C:/RUBY/lib/ruby/gems/2.1.0/gems/bundler-1.9.4/lib/bundler/cli/exec.rb:30:in `run'\r\n    C:/RUBY/lib/ruby/gems/2.1.0/gems/bundler-1.9.4/lib/bundler/cli.rb:271:in `exec'\r\n    C:/RUBY/lib/ruby/gems/2.1.0/gems/bundler-1.9.4/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'\r\n    C:/RUBY/lib/ruby/gems/2.1.0/gems/bundler-1.9.4/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'\r\n    C:/RUBY/lib/ruby/gems/2.1.0/gems/bundler-1.9.4/lib/bundler/vendor/thor/lib/thor.rb:359:in `dispatch'\r\n    C:/RUBY/lib/ruby/gems/2.1.0/gems/bundler-1.9.4/lib/bundler/vendor/thor/lib/thor/base.rb:440:in `start'\r\n    C:/RUBY/lib/ruby/gems/2.1.0/gems/bundler-1.9.4/lib/bundler/cli.rb:10:in `start'\r\n    C:/RUBY/lib/ruby/gems/2.1.0/gems/bundler-1.9.4/bin/bundle:20:in `block in <top (required)>'\r\n    C:/RUBY/lib/ruby/gems/2.1.0/gems/bundler-1.9.4/lib/bundler/friendly_errors.rb:7:in `with_friendly_errors'\r\n    C:/RUBY/lib/ruby/gems/2.1.0/gems/bundler-1.9.4/bin/bundle:18:in `<top (required)>'\r\n    C:/ruby/bin/bundle:23:in `load'\r\n    C:/ruby/bin/bundle:23:in `<main>'\r\n\r\nEnvironment\r\n\r\n    Bundler   1.9.4\r\n    Rubygems  2.4.6\r\n    Ruby      2.1.5p273 (2014-11-13 revision 48405) [i386-mingw32]\r\n    GEM_HOME  C:/RUBY/lib/ruby/gems/2.1.0\r\n    GEM_PATH  C:/RUBY/lib/ruby/gems/2.1.0;C:/Users/steffenr/.gem/ruby/2.1.0\r\n    Git       1.9.5.msysgit.0\r\n\r\nBundler settings\r\n\r\n    bin_path\r\n      Set via BUNDLE_BIN_PATH: \"C:/RUBY/lib/ruby/gems/2.1.0/gems/bundler-1.9.4/bin/bundle\"\r\n    gemfile\r\n      Set via BUNDLE_GEMFILE: \"C:/src/JIRA/Gemfile\"\r\n"},"comment":{"url":"https://api.github.com/repos/bundler/bundler/issues/comments/93817778","html_url":"https://github.com/bundler/bundler/issues/3573#issuecomment-93817778","issue_url":"https://api.github.com/repos/bundler/bundler/issues/3573","id":93817778,"user":{"login":"indirect","id":78,"avatar_url":"https://avatars.githubusercontent.com/u/78?v=3","gravatar_id":"","url":"https://api.github.com/users/indirect","html_url":"https://github.com/indirect","followers_url":"https://api.github.com/users/indirect/followers","following_url":"https://api.github.com/users/indirect/following{/other_user}","gists_url":"https://api.github.com/users/indirect/gists{/gist_id}","starred_url":"https://api.github.com/users/indirect/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/indirect/subscriptions","organizations_url":"https://api.github.com/users/indirect/orgs","repos_url":"https://api.github.com/users/indirect/repos","events_url":"https://api.github.com/users/indirect/events{/privacy}","received_events_url":"https://api.github.com/users/indirect/received_events","type":"User","site_admin":false},"created_at":"2015-04-16T19:10:18Z","updated_at":"2015-04-16T19:10:18Z","body":"It did execute the script directly... but your script isn't a program. :)\n\nOn Thu, Apr 16, 2015 at 11:59 AM, Steffen Roller <notifications@github.com>\nwrote:\n\n> @indirect Ha! That was it. I thought bundler would execute the script directly.\n> ---\n> Reply to this email directly or view it on GitHub:\n> https://github.com/bundler/bundler/issues/3573#issuecomment-93815410"}}