Crun is an utility for compiling and running C-programs straight from C source files. Crun supports compile-run and compile-debug flows. You can embed custom compile options into the main c-file, if you need, for example, an external library for the program. You can also control the command line parameters passed to the program through Crun.
Full article: https://rubygems.org/gems/crun