gitignore swap files
copy Ruby support from the Padre repository