I was able to break the shell by using characters like '.' and ';'
SRB /Users/[username]/Projects/shellrb> a;kfjw;34tq
lib/app.rb:5:in `const_defined?': wrong constant name A;kfjw;34tq (NameError)
from lib/app.rb:5:in `handle_commands'
from lib/app.rb:27:in `block in <main>'
from lib/app.rb:18:in `loop'
from lib/app.rb:18:in `<main>'
I was able to break the shell by using characters like '.' and ';'