Add ruby example
Add -basedir