Как открыть консоли Ruby
If you're using macOS open up Terminal and type irb , then hit enter.
If you're using Linux, open up a shell and type irb and hit enter.
If you're using Windows, open Interactive Ruby from the Ruby section of your Start Menu.
Zagham Abbas