- Extract the DragonRuby version you want to use somewhere
- Delete original
mygame
folder (or alternatively rename it intomygame-template
if you want to keep the files around) - Clone your game (this repository) via git
- Copy the DragonRuby engine into your game repository (don't forget the hidden
.dragonruby
folder)
-
Execute following command in your repository
git clean -f -x -d
This will recursively delete all unknown & ignored files in your repository (i.e. the engine).
Be aware that this might also delete all other ignored files in your repository (like maybe save games) - so if you want to keep anything make sure that you backup those files first
-
Copy the new version of the DragonRuby engine into your game repository (don't forget the hidden
.dragonruby
folder)