irb doesn't execute files. windows 10 any ruby version

31 перегляд
Перейти до першого непрочитаного повідомлення

kaiN

не прочитано,
31 трав. 2017 р., 14:10:4431.05.17
Кому: RubyInstaller
When I try to execute 'puts "1+2"' irb just opens and closes in a matter of milliseconds. When I drag the file into the window and press enter it says "SyntaxError: (irb):1: syntax error, unexpected $undefined, expecting tSTRING_CONTENT or tSTRING_DBEG or TSTRING_DVAR or tSTRING_END" tried multiple versions but none work. What am I doing wrong or is it "just" a bug?
Відповісти всім
Відповісти автору
Переслати
0 нових повідомлень