You can use the source code of the installed gem to change the behavior of the one you installed. But if you do not play games with tracks, it will not affect the stone itself, even if you rebuild it.
What I usually do is:
- Set up a development area where I can make changes and test them (for example, run unit tests, specifications, etc.).
- Do most of my work there
- When I have something that I like, rebuild the stone and try installing the test.
- If this works for my satisfaction, click it.
In addition, if you use a git hub, they should automatically restore the gem for you every time you click commit with an updated gemspec (for example, you changed the version number).