# Ruby help

**URL:** <https://www.ruby-forum.com/t/ruby-help/167657>\
**Category:** Ruby-Forum\
**Created:** [May 11, 2009, 8:31am UTC](https://www.ruby-forum.com/t/ruby-help/167657 "2009-05-11T08:31:44Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![nznz](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/ecae2f/32.png) [@nznz](https://www.ruby-forum.com/u/nznz)\
**Post date:** [May 11, 2009, 8:31am UTC](https://www.ruby-forum.com/t/ruby-help/167657/1 "2009-05-11T08:31:44Z")

</div>

Hi, my name is Emmanuel, im from argentina.  
Sorry for my english 😛

I have a problem with ruby, im very new in this.

i try to execute this code:

1 # gets y chomp  
2  
3 puts “En que ciudad vives?”  
4  
5 # STDOUT - constante global - la salida estÃ¡ndar del programa  
6 # flush - vacÃ­a los datos almacenados temporalmente hacia el  
7 # sistema operativo  
8 STDOUT.flush  
9  
10 # gets - regresa una cadena y el caracter ‘\n’  
11 # chomp - elimina el caracter ‘\n’  
12 ciudad = gets.chomp  
13 puts "La ciudad es " + ciudad  
14  
15 # para saber en quÃ© objeto te encuentras  
16 puts self

but when de windows command open, and i have to write the name of my  
city, i cant write, my keyboard dosnt write, and the window remain  
blank.

thank you 🙂
