{"issue":{"state":"open","pull_request":{"diff_url":null,"html_url":null,"patch_url":null},"milestone":null,"user":{"avatar_url":"https://secure.gravatar.com/avatar/858ee199c1521089a7e03841bbb4f743?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"858ee199c1521089a7e03841bbb4f743","url":"https://api.github.com/users/wulftone","login":"wulftone","id":142784},"assignee":null,"updated_at":"2011-11-16T00:01:16Z","labels":[],"comments":7,"closed_at":null,"url":"https://api.github.com/repos/lunixbochs/sublimelint/issues/17","body":"Currently, it reports Ruby errors when using Ruby 1.9 syntax (that isn't compatible with Ruby 1.8, like the new Hash notation).  How would you get it to use a specified Ruby interpreter?  I'm using RVM, so it might be getting confused because of that.","html_url":"https://github.com/lunixbochs/sublimelint/issues/17","title":"Can't configure ruby 1.9 syntax","number":17,"id":2250752,"created_at":"2011-11-15T23:22:25Z"},"action":"created","comment":{"user":{"avatar_url":"https://secure.gravatar.com/avatar/6a2aedf092fed3587aeddfd4a38ebaa5?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"6a2aedf092fed3587aeddfd4a38ebaa5","url":"https://api.github.com/users/lunixbochs","login":"lunixbochs","id":117642},"updated_at":"2011-11-16T00:01:16Z","url":"https://api.github.com/repos/lunixbochs/sublimelint/issues/comments/2753566","body":"The next step might be changing the command to something like this: ('bash', '--login', '-c', 'ruby -wc')\n\nThis should execute your bash login and run your bashrc before the command hits, allowing you to invoke rvm.\n\nFor this to work, your bashrc probably shouldn't print any output. If anything in your bashrc prints output, you can maybe wrap it in an if statement like below to only print the output if you're logging in from a terminal:\n\nif [[ ! -t 1 ]]; then\n   # print stuff here\nfi\n\n\n\n-- \nRyan Hileman\n\n\nOn Tuesday, November 15, 2011 at 4:55 PM, Trevor Bortins wrote:\n\n> Yeah, that works, but unfortunately that means I'll have to change it every time I switch between 1.8.7 and 1.9.2. : \\...\n> \n> --- \n> Reply to this email directly or view it on GitHub:\n> https://github.com/lunixbochs/sublimelint/issues/17#issuecomment-2753513\n> \n>","id":2753566,"created_at":"2011-11-16T00:01:16Z"}}