Changed input method from gets to STDIN.gets

Changed the text_input to use STDIN.gets instead of Kernel.gets to solve
problems with rake.