{"action":"created","issue":{"url":"https://api.github.com/repos/arya/bluepill/issues/207","labels_url":"https://api.github.com/repos/arya/bluepill/issues/207/labels{/name}","comments_url":"https://api.github.com/repos/arya/bluepill/issues/207/comments","events_url":"https://api.github.com/repos/arya/bluepill/issues/207/events","html_url":"https://github.com/arya/bluepill/issues/207","id":102460744,"number":207,"title":"NoMethodError `undefined method `exitstatus' for nil:NilClass`","user":{"login":"zerogee00","id":9853300,"avatar_url":"https://avatars.githubusercontent.com/u/9853300?v=3","gravatar_id":"","url":"https://api.github.com/users/zerogee00","html_url":"https://github.com/zerogee00","followers_url":"https://api.github.com/users/zerogee00/followers","following_url":"https://api.github.com/users/zerogee00/following{/other_user}","gists_url":"https://api.github.com/users/zerogee00/gists{/gist_id}","starred_url":"https://api.github.com/users/zerogee00/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zerogee00/subscriptions","organizations_url":"https://api.github.com/users/zerogee00/orgs","repos_url":"https://api.github.com/users/zerogee00/repos","events_url":"https://api.github.com/users/zerogee00/events{/privacy}","received_events_url":"https://api.github.com/users/zerogee00/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-08-21T20:55:21Z","updated_at":"2015-12-21T20:31:22Z","closed_at":null,"body":"When running Bluepill under ruby 2.2.2 I get this error:\r\n\r\n```Failed to start bluepill:\r\nNoMethodError `undefined method `exitstatus' for nil:NilClass`\r\n/srv/httpd/gems/gems/bluepill-0.1.1/lib/bluepill/system.rb:200:in `execute_blocking'\r\n/srv/httpd/gems/gems/bluepill-0.1.1/lib/bluepill/process.rb:294:in `block in start_process'\r\n/pkg/ruby-lang.org/ruby/2.2.2/lib/ruby/2.2.0/timeout.rb:89:in `block in timeout'\r\n/pkg/ruby-lang.org/ruby/2.2.2/lib/ruby/2.2.0/timeout.rb:34:in `block in catch'\r\n/pkg/ruby-lang.org/ruby/2.2.2/lib/ruby/2.2.0/timeout.rb:34:in `catch'\r\n/pkg/ruby-lang.org/ruby/2.2.2/lib/ruby/2.2.0/timeout.rb:34:in `catch'\r\n/pkg/ruby-lang.org/ruby/2.2.2/lib/ruby/2.2.0/timeout.rb:104:in `timeout'\r\n/srv/httpd/gems/gems/bluepill-0.1.1/lib/bluepill/process.rb:510:in `with_timeout'\r\n/srv/httpd/gems/gems/bluepill-0.1.1/lib/bluepill/process.rb:293:in `start_process'\r\n/frm/ruby/2.2.2/lib/ruby/gems/2.2.2/gems/gems/state_machine-1.2.0/lib/state_machine/eval_helpers.rb:58:in `evaluate_method'\r\n/frm/ruby/2.2.2/lib/ruby/gems/2.2.2/gems/gems/state_machine-1.2.0/lib/state_machine/callback.rb:191:in `block in run_methods'\r\n/frm/ruby/2.2.2/lib/ruby/gems/2.2.2/gems/gems/state_machine-1.2.0/lib/state_machine/callback.rb:190:in `each'\r\n/frm/ruby/2.2.2/lib/ruby/gems/2.2.2/gems/gems/state_machine-1.2.0/lib/state_machine/callback.rb:190:in `run_methods'\r\n/frm/ruby/2.2.2/lib/ruby/gems/2.2.2/gems/gems/state_machine-1.2.0/lib/state_machine/callback.rb:159:in `call'\r\n/frm/ruby/2.2.2/lib/ruby/gems/2.2.2/gems/gems/state_machine-1.2.0/lib/state_machine/transition.rb:450:in `block (2 levels) in after'\r\n/frm/ruby/2.2.2/lib/ruby/gems/2.2.2/gems/gems/state_machine-1.2.0/lib/state_machine/transition.rb:450:in `each'\r\n/frm/ruby/2.2.2/lib/ruby/gems/2.2.2/gems/gems/state_machine-1.2.0/lib/state_machine/transition.rb:450:in `block in after'\r\n/frm/ruby/2.2.2/lib/ruby/gems/2.2.2/gems/gems/state_machine-1.2.0/lib/state_machine/transition.rb:448:in `catch'\r\n/frm/ruby/2.2.2/lib/ruby/gems/2.2.2/gems/gems/state_machine-1.2.0/lib/state_machine/transition.rb:448:in `after'\r\n/frm/ruby/2.2.2/lib/ruby/gems/2.2.2/gems/gems/state_machine-1.2.0/lib/state_machine/transition.rb:251:in `run_callbacks'\r\n/frm/ruby/2.2.2/lib/ruby/gems/2.2.2/gems/gems/state_machine-1.2.0/lib/state_machine/transition_collection.rb:127:in `run_callbacks'\r\n/frm/ruby/2.2.2/lib/ruby/gems/2.2.2/gems/gems/state_machine-1.2.0/lib/state_machine/transition_collection.rb:63:in `block (2 levels) in perform'\r\n/frm/ruby/2.2.2/lib/ruby/gems/2.2.2/gems/gems/state_machine-1.2.0/lib/state_machine/transition_collection.rb:63:in `catch'\r\n/frm/ruby/2.2.2/lib/ruby/gems/2.2.2/gems/gems/state_machine-1.2.0/lib/state_machine/transition_collection.rb:63:in `block in perform'\r\n/frm/ruby/2.2.2/lib/ruby/gems/2.2.2/gems/gems/state_machine-1.2.0/lib/state_machine/transition_collection.rb:182:in `block in within_transaction'\r\n/frm/ruby/2.2.2/lib/ruby/gems/2.2.2/gems/gems/state_machine-1.2.0/lib/state_machine/transition.rb:227:in `block in within_transaction'\r\n/frm/ruby/2.2.2/lib/ruby/gems/2.2.2/gems/gems/state_machine-1.2.0/lib/state_machine/machine.rb:1902:in `block in within_transaction'\r\n/frm/ruby/2.2.2/lib/ruby/gems/2.2.2/gems/gems/state_machine-1.2.0/lib/state_machine/machine.rb:2222:in `transaction'\r\n/frm/ruby/2.2.2/lib/ruby/gems/2.2.2/gems/gems/state_machine-1.2.0/lib/state_machine/machine.rb:1902:in `within_transaction'\r\n/frm/ruby/2.2.2/lib/ruby/gems/2.2.2/gems/gems/state_machine-1.2.0/lib/state_machine/transition.rb:226:in `within_transaction'\r\n/frm/ruby/2.2.2/lib/ruby/gems/2.2.2/gems/gems/state_machine-1.2.0/lib/state_machine/transition_collection.rb:181:in `within_transaction'\r\n/frm/ruby/2.2.2/lib/ruby/gems/2.2.2/gems/gems/state_machine-1.2.0/lib/state_machine/transition_collection.rb:62:in `perform'\r\n/frm/ruby/2.2.2/lib/ruby/gems/2.2.2/gems/gems/state_machine-1.2.0/lib/state_machine/transition.rb:219:in `perform'\r\n/frm/ruby/2.2.2/lib/ruby/gems/2.2.2/gems/gems/state_machine-1.2.0/lib/state_machine/event.rb:172:in `fire'\r\n/frm/ruby/2.2.2/lib/ruby/gems/2.2.2/gems/gems/state_machine-1.2.0/lib/state_machine/event.rb:247:in `block in add_actions'\r\n/frm/ruby/2.2.2/lib/ruby/gems/2.2.2/gems/gems/state_machine-1.2.0/lib/state_machine/machine.rb:765:in `call'\r\n/frm/ruby/2.2.2/lib/ruby/gems/2.2.2/gems/gems/state_machine-1.2.0/lib/state_machine/machine.rb:765:in `block (2 levels) in define_helper'\r\n/srv/httpd/gems/gems/bluepill-0.1.1/lib/bluepill/process.rb:158:in `tick'\r\n/srv/httpd/gems/gems/bluepill-0.1.1/lib/bluepill/group.rb:18:in `each'\r\n/srv/httpd/gems/gems/bluepill-0.1.1/lib/bluepill/group.rb:18:in `tick'\r\n/srv/httpd/gems/gems/bluepill-0.1.1/lib/bluepill/application.rb:149:in `block (2 levels) in run'\r\n/srv/httpd/gems/gems/bluepill-0.1.1/lib/bluepill/application.rb:149:in `each'\r\n/srv/httpd/gems/gems/bluepill-0.1.1/lib/bluepill/application.rb:149:in `block in run'\r\n/srv/httpd/gems/gems/bluepill-0.1.1/lib/bluepill/application.rb:40:in `synchronize'\r\n/srv/httpd/gems/gems/bluepill-0.1.1/lib/bluepill/application.rb:40:in `mutex'\r\n/srv/httpd/gems/gems/bluepill-0.1.1/lib/bluepill/application.rb:147:in `run'\r\n/srv/httpd/gems/gems/bluepill-0.1.1/lib/bluepill/application.rb:141:in `start_server'\r\n/srv/httpd/gems/gems/bluepill-0.1.1/lib/bluepill/application.rb:44:in `load'\r\n/srv/httpd/gems/gems/bluepill-0.1.1/lib/bluepill/dsl.rb:9:in `application'```\r\n\r\nwhich seems to stem from `exit_code: $CHILD_STATUS.exitstatus,` in system.rb. \r\n\r\nHas anyone else seen this? If I run the process directly it runs fine."},"comment":{"url":"https://api.github.com/repos/arya/bluepill/issues/comments/166409631","html_url":"https://github.com/arya/bluepill/issues/207#issuecomment-166409631","issue_url":"https://api.github.com/repos/arya/bluepill/issues/207","id":166409631,"user":{"login":"julioolvr","id":1302493,"avatar_url":"https://avatars.githubusercontent.com/u/1302493?v=3","gravatar_id":"","url":"https://api.github.com/users/julioolvr","html_url":"https://github.com/julioolvr","followers_url":"https://api.github.com/users/julioolvr/followers","following_url":"https://api.github.com/users/julioolvr/following{/other_user}","gists_url":"https://api.github.com/users/julioolvr/gists{/gist_id}","starred_url":"https://api.github.com/users/julioolvr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/julioolvr/subscriptions","organizations_url":"https://api.github.com/users/julioolvr/orgs","repos_url":"https://api.github.com/users/julioolvr/repos","events_url":"https://api.github.com/users/julioolvr/events{/privacy}","received_events_url":"https://api.github.com/users/julioolvr/received_events","type":"User","site_admin":false},"created_at":"2015-12-21T20:31:22Z","updated_at":"2015-12-21T20:31:22Z","body":"You got it https://github.com/bluepill-rb/bluepill/pull/43"}}