sets .cap files as ruby