generate rc version if EDIT_#{gem} is set, strip trailing whitespace
from version read from VERSION