Emm… I haven’t learn Ruby, but maybe you can use
[WAIT!! Where are the “;”s behind the lines of code? “;” is the sign that means the end of 1 ruby code line, although “\n” is also ok, try to add them. ]
puts "Enter your name:"; Or print “Enter your name\n”;
Instead…
Or, put “ #!/usr/bin/ruby -w” before all the lines? I don’t know…