R
R.. Kumar
jeweler maintains a file VERSION in the base directory.
My program in bin has an option,
Currently. I have a constant VERSION in prog.rb. This is never in synch
with the VERSION file, it should be.
Is there any way of either updating the constant whenever I do a jeweler
version:bump. Or else, my program inside lib/ should be able to get to
the VERSION file. However, note that File.open("../VERSION") fails since
it tries to check in the parent of the dir where user currently is
running the app from.
thx, rkumar
My program in bin has an option,
prog --version.
Currently. I have a constant VERSION in prog.rb. This is never in synch
with the VERSION file, it should be.
Is there any way of either updating the constant whenever I do a jeweler
version:bump. Or else, my program inside lib/ should be able to get to
the VERSION file. However, note that File.open("../VERSION") fails since
it tries to check in the parent of the dir where user currently is
running the app from.
thx, rkumar