Hacker News new | past | comments | ask | show | jobs | submit login

If you never coded in ruby before, but use macOS, you already have ruby installed. Just open terminal and type

  irb
to bring up the ruby interpreter and try out the code in the article.





    ~ % irb
    
    WARNING: This version of ruby is included in macOS for compatibility with legacy software. 
    In future versions of macOS the ruby runtime will not be available by 
    default, and may require you to install an additional package.

    irb(main):001:0>

I think the built in one is deprecated though right?

Are there distributions where this doesn't happen? I feel like I'm often installing or compiling new versions of packages and languages because they're outdated on Ubuntu

A rolling distro like Arch or Void.

Gotcha, thanks



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: