Start your irb as below :
irb --simple-prompt --noecho
--simple-prompt
is to get the IRB prompt as>>
--noecho
is to off the echo on IRB
Here is an example:
C:\>irb --simple-prompt
>> x = 2
=> 2
>> exit
C:\>irb --simple-prompt --noecho
>> x = 2
>>