Allow ruby to be found in environment

Fixes a problem of starting the daemon on SmartOs.  My ruby is located under `/opt/local/bin`.
Could be considered a general improvement for cross platform friendliness.