<p>I think it's ok to do <code>grep ruby</code> instead of <code>grep ruby-2</code>, although I put <code>-2</code> to ensure it is ruby version 2.x, iirc, it might not work with older versions.</p>
<p>By removing:</p>
<pre><code>-ifeq ($(RUBYVER),)
-RUBYVER=ruby-2.3
-endif
</code></pre>
<p>Another test has to be done to be sure RUBYVER is not empty. I looked a bit more into the Makefile, and I think that the order of doing the detection should be changed. I will push a commit very soon to fix all.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/kamailio/kamailio/pull/1762#issuecomment-446903166">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AF36Zd4vCoxS4D6NJYSH5rtFzAx78hb1ks5u4h_3gaJpZM4ZNrXu">mute the thread</a>.<img src="https://github.com/notifications/beacon/AF36ZW4p4fYydvFSZ01BlSySbbZiC2ywks5u4h_3gaJpZM4ZNrXu.gif" height="1" width="1" alt="" /></p>
<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/kamailio/kamailio","title":"kamailio/kamailio","subtitle":"GitHub repository","main_image_url":"https://assets-cdn.github.com/images/email/message_cards/header.png","avatar_image_url":"https://assets-cdn.github.com/images/email/message_cards/avatar.png","action":{"name":"Open in GitHub","url":"https://github.com/kamailio/kamailio"}},"updates":{"snippets":[{"icon":"PERSON","message":"@miconda in #1762: I think it's ok to do `grep ruby` instead of `grep ruby-2`, although I put `-2` to ensure it is ruby version 2.x, iirc, it might not work with older versions.\r\n\r\nBy removing:\r\n\r\n```\r\n-ifeq ($(RUBYVER),)\r\n-RUBYVER=ruby-2.3\r\n-endif\r\n```\r\n\r\nAnother test has to be done to be sure RUBYVER is not empty. I looked a bit more into the Makefile, and I think that the order of doing the detection should be changed. I will push a commit very soon to fix all."}],"action":{"name":"View Pull Request","url":"https://github.com/kamailio/kamailio/pull/1762#issuecomment-446903166"}}}</script>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/kamailio/kamailio/pull/1762#issuecomment-446903166",
"url": "https://github.com/kamailio/kamailio/pull/1762#issuecomment-446903166",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>