CLOUDIFY-2474 small fixes related to ruby usage