Skip to content

Don't know how to get ruby in the command line to work as Shaw implies #1

@alecfwilson

Description

@alecfwilson

I've just been using irb, which works, but I'd prefer to figure out what I am doing wrong with ruby in the command line.
Googling pretty much exclusively suggests irb.

Example, including me guessing at solutions:

$ ruby i = 67 x = 68 x - i puts x - i run ruby ruby i ruby i - x ruby puts i - x ruby puts 1 puts 1 ^C-: Interrupt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions