Hacker NewsSunday · May 24, 2026FREE

Rubish: A Unix shell written in pure Ruby

rubyshellunixopen-source

Rubish, created by amatsuda, is a Unix shell implemented in pure Ruby. It allows users to execute shell commands using Ruby syntax, combining the convenience of a shell with the full capabilities of the Ruby language. For example, users can write `ls('*.rb')` instead of `ls *.rb`, and use Ruby blocks for iteration. The project is available on GitHub and aims to provide a seamless integration of shell scripting with Ruby programming. This could be particularly useful for Ruby developers who want to avoid context-switching between shell and Ruby syntax.

// why it matters

Ruby developers can now write shell scripts using familiar Ruby syntax.

Sources

Primary · Hacker News
▸ Read original at github.com

Like this? Get the next digest.