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

31 views
Skip to first unread message

kaiN

unread,
May 31, 2017, 2:10:44 PM5/31/17
to 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?
Reply all
Reply to author
Forward
0 new messages