I have a Rails migration that looks like this:
puts "*** What would you like to do? ***"
puts "(a)dd columns AND copy data"
puts "(c)olumns only (no data copying)"
puts "(d)ata only (no column adding)"
puts "(q)uit"
reply = $stdin.gets.chomp
...
(subsequent code depends on the reply variable)
This works on my development system.
Heroku isn't accepting my response when I type a letter, after it gives me the above text as a prompt.
How can I get this to work on Heroku?