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
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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?