{"issue":{"state":"closed","pull_request":{"diff_url":"https://github.com/rails/rails/pull/3619.diff","html_url":"https://github.com/rails/rails/pull/3619","patch_url":"https://github.com/rails/rails/pull/3619.patch"},"milestone":null,"user":{"avatar_url":"https://secure.gravatar.com/avatar/73d57855a3bfe5c534596197a895ab6e?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"73d57855a3bfe5c534596197a895ab6e","url":"https://api.github.com/users/guilleiguaran","login":"guilleiguaran","id":160941},"assignee":null,"labels":[],"updated_at":"2011-11-17T13:49:47Z","closed_at":"2011-11-16T22:52:11Z","comments":15,"url":"https://api.github.com/repos/rails/rails/issues/3619","body":"This will make the apps usable by default for all Linux users that don't have Node.js installed in the system. (There are a lot of users). See #2963 for details.\r\n\r\nAdditionally if JRuby is detected therubyrhino is added by default","html_url":"https://github.com/rails/rails/issues/3619","number":3619,"title":"Add therubyracer/therubyrhino to Gemfile when there isn't a JS Runtime available in the system","id":2218477,"created_at":"2011-11-12T19:55:35Z"},"action":"created","comment":{"user":{"avatar_url":"https://secure.gravatar.com/avatar/e837f6b7fd146ab16ed3d663476c063e?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"e837f6b7fd146ab16ed3d663476c063e","url":"https://api.github.com/users/josevalim","login":"josevalim","id":9582},"updated_at":"2011-11-17T13:49:46Z","url":"https://api.github.com/repos/rails/rails/issues/comments/2776068","body":"I am fine with a solution along those lines of the logic is not implemented by Rails. If we could ask exec.js if there is a runtime available and if not, fallback to therubyracer, that would be fine for me. If not, totally -1 for rails checking node, spider monkey versions and etc.","id":2776068,"created_at":"2011-11-17T13:49:46Z"}}