Is there a way to require a gem and then get the version number of that gem from within ruby?
You could try
Gem.loaded_specs[$NAME_OF_GEM].version
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With