generate Makefile from template and Gemfile.lock