only set blength 0 if in linux console (now seems to be 'not supported' in rxvt-unicode-256color); fix ruby gems path