<p>It works! <g-emoji class="g-emoji" alias="tada" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f389.png">🎉</g-emoji></p>
<pre><code>kamcmd app_ruby.reload
{
        old: 0
        new: 1
}
</code></pre>
<p><code>Dec 14 13:08:22 servername /usr/sbin/kamailio[30394]: INFO: app_ruby [app_ruby_api.c:1273]: app_ruby_rpc_reload(): marking for reload ruby script file: /etc/kamailio/ruby/myscript.rb (0 => 0) </code></p>
<p>I also tested if new code is in effect, it is!</p>
<p>Thank you very much.<br>
I'll now wait for yum repo update so I can use this in production.</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/issues/1764#issuecomment-447279883">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AF36ZVqFKdazESfPDhEvkYcRG2OtfuzUks5u43o3gaJpZM4ZRjFj">mute the thread</a>.<img src="https://github.com/notifications/beacon/AF36ZTyzxcLONWIARYGuEPnBxm2SpOXIks5u43o3gaJpZM4ZRjFj.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://github.githubassets.com/images/email/message_cards/header.png","avatar_image_url":"https://github.githubassets.com/images/email/message_cards/avatar.png","action":{"name":"Open in GitHub","url":"https://github.com/kamailio/kamailio"}},"updates":{"snippets":[{"icon":"PERSON","message":"@fatihorhan in #1764: It works! ðŸŽ‰ \r\n\r\n```\r\nkamcmd app_ruby.reload\r\n{\r\n        old: 0\r\n        new: 1\r\n}\r\n```\r\n\r\n`Dec 14 13:08:22 servername /usr/sbin/kamailio[30394]: INFO: app_ruby [app_ruby_api.c:1273]: app_ruby_rpc_reload(): marking for reload ruby script file: /etc/kamailio/ruby/myscript.rb (0 =\u003e 0)\r\n`\r\n\r\nI also tested if new code is in effect, it is!\r\n\r\nThank you very much.\r\nI'll now wait for yum repo update so I can use this in production."}],"action":{"name":"View Issue","url":"https://github.com/kamailio/kamailio/issues/1764#issuecomment-447279883"}}}</script>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/kamailio/kamailio/issues/1764#issuecomment-447279883",
"url": "https://github.com/kamailio/kamailio/issues/1764#issuecomment-447279883",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>