added support for different ruby paths