{"action":"created","issue":{"url":"https://api.github.com/repos/bundler/bundler/issues/4036","labels_url":"https://api.github.com/repos/bundler/bundler/issues/4036/labels{/name}","comments_url":"https://api.github.com/repos/bundler/bundler/issues/4036/comments","events_url":"https://api.github.com/repos/bundler/bundler/issues/4036/events","html_url":"https://github.com/bundler/bundler/pull/4036","id":109714028,"number":4036,"title":"[DSL] Infer ruby from .ruby-version","user":{"login":"segiddins","id":1946610,"avatar_url":"https://avatars.githubusercontent.com/u/1946610?v=3","gravatar_id":"","url":"https://api.github.com/users/segiddins","html_url":"https://github.com/segiddins","followers_url":"https://api.github.com/users/segiddins/followers","following_url":"https://api.github.com/users/segiddins/following{/other_user}","gists_url":"https://api.github.com/users/segiddins/gists{/gist_id}","starred_url":"https://api.github.com/users/segiddins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/segiddins/subscriptions","organizations_url":"https://api.github.com/users/segiddins/orgs","repos_url":"https://api.github.com/users/segiddins/repos","events_url":"https://api.github.com/users/segiddins/events{/privacy}","received_events_url":"https://api.github.com/users/segiddins/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":17,"created_at":"2015-10-05T00:00:41Z","updated_at":"2015-10-27T10:53:20Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/bundler/bundler/pulls/4036","html_url":"https://github.com/bundler/bundler/pull/4036","diff_url":"https://github.com/bundler/bundler/pull/4036.diff","patch_url":"https://github.com/bundler/bundler/pull/4036.patch"},"body":"See https://github.com/bundler/bundler/pull/3441 for discussion.\r\nCloses https://github.com/bundler/bundler-features/issues/79."},"comment":{"url":"https://api.github.com/repos/bundler/bundler/issues/comments/151454903","html_url":"https://github.com/bundler/bundler/pull/4036#issuecomment-151454903","issue_url":"https://api.github.com/repos/bundler/bundler/issues/4036","id":151454903,"user":{"login":"colszowka","id":13972,"avatar_url":"https://avatars.githubusercontent.com/u/13972?v=3","gravatar_id":"","url":"https://api.github.com/users/colszowka","html_url":"https://github.com/colszowka","followers_url":"https://api.github.com/users/colszowka/followers","following_url":"https://api.github.com/users/colszowka/following{/other_user}","gists_url":"https://api.github.com/users/colszowka/gists{/gist_id}","starred_url":"https://api.github.com/users/colszowka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/colszowka/subscriptions","organizations_url":"https://api.github.com/users/colszowka/orgs","repos_url":"https://api.github.com/users/colszowka/repos","events_url":"https://api.github.com/users/colszowka/events{/privacy}","received_events_url":"https://api.github.com/users/colszowka/received_events","type":"User","site_admin":false},"created_at":"2015-10-27T10:53:20Z","updated_at":"2015-10-27T10:53:20Z","body":"Regarding what @indirect wrote on #3441, I'd like to suggest to not do this automatically, but maybe have a shorthand to the File.read pattern, by simply checking if the argument given to 'ruby' is a file and reading that instead? Alternatively, we could have a special-meaning `ruby :ruby_version` flag that reads in the .ruby-version file when called?"}}