fix for ruby syntax
ubuntu support