Do not commit temp files
forgot to commit gemfile.lock
execute template after defining
Better debugging with pry
Cleanup temp files after tests
Compile template in a clean context with method access to the variables
Example