Added default variant to Ruby template. Added code for generating a shebang in source files that require it.