In short, if your stone does not need to know the current version, you do not need version.rb . The event of some of the famous stones, such as rack , does not use it.
Suppose you create a complex stone that contains the -v option to see the current version, or you need to print the current version to warn the developers that there are some outdated changes, and then the require file in the stump version is much more convenient and efficient. than gemspec analysis.
This is just a congress in the Ruby community. The main reason why version.rb is because many gems are built on a bundler gem .
Jian weihang
source share