Replace hardcoded ruby executable path with environment path