This won’t work:
cvs_username = gets
to get it working you have to ask input from STDIN:
cvs_username = STDIN.gets
And this is a helper method:
def ask message
print message
STDIN.gets.chomp
end
# ...
cvs_username = ask('Please insert your CVS username')


works like a charm.