<p>Maybe this is because on CentOS cannot be detected ruby version by command</p>
<pre><code>RUBYVER=$(shell pkg-config --list-all | grep ruby-2 | tail -1 | cut -f 1 -d " ")
</code></pre>
<p>On CentOS is exist</p>
<pre><code>[root@node0 app_ruby]# pkg-config --list-all | grep ruby
ruby                  Ruby - Object Oriented Script Language
</code></pre>
<p>not <code>ruby-2</code></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-446886522">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AF36ZUSvDmGcAML5V8ZRdyBZtfm0Cpjgks5u4hLDgaJpZM4ZNrXu">mute the thread</a>.<img src="https://github.com/notifications/beacon/AF36ZVOr6GB4xR6rAikjVprAhhZVnGExks5u4hLDgaJpZM4ZNrXu.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":"@sergey-safarov in #1762: Maybe this is because on CentOS cannot be detected ruby version by command\r\n```\r\nRUBYVER=$(shell pkg-config --list-all | grep ruby-2 | tail -1 | cut -f 1 -d \" \")\r\n```\r\nOn CentOS is exist\r\n```\r\n[root@node0 app_ruby]# pkg-config --list-all | grep ruby\r\nruby                  Ruby - Object Oriented Script Language\r\n```\r\nnot `ruby-2`"}],"action":{"name":"View Pull Request","url":"https://github.com/kamailio/kamailio/pull/1762#issuecomment-446886522"}}}</script>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/kamailio/kamailio/pull/1762#issuecomment-446886522",
"url": "https://github.com/kamailio/kamailio/pull/1762#issuecomment-446886522",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>