Input problems on RubyMine

已回答

 

Hi everyone, I'm new using RubyMine. Recently I made this simple program (add two numbers giving by the user). But when I try to compile it doesn't add those numbers, only receives number indefinitely. The first image is from the program. The second one is the result of compiling the program

Someone can help me with this? 

 EDIT ONE: When I run this program on the console (ruby *name.rb*) it works perfectly. I'm using Ruby 2.5.3


0

Hello,

that's a known issue already fixed: https://youtrack.jetbrains.com/issue/RUBY-23100

The fix is going to be included in 2018.3.2.

0

请先登录再写评论。