Fixed error on empty ruck string in gear templates.
Updated version.