Write real Ruby, run it from Shortcuts. On iPhone, iPad and Mac.
RubyCuts is an open-source, universal Apple app (iOS, iPadOS, macOS) that lets you write, manage, and run Ruby code natively from Apple Shortcuts. More on the website.
It's inspired by Rubyist, but aims to be actively maintained and to embed the full CRuby (MRI) environment instead of the limited mruby VM, giving you real standard library access (csv, json, net/http, ...) and the ability to pull in pure Ruby gems at runtime.
- Real Ruby. CRuby 3.4.9 (MRI) embedded in the app, with its standard library:
json,csv,yaml,net/httpover HTTPS,openssland more. - Shortcuts actions. "Run Inline Ruby" and "Run Ruby Script" take
ARGV(a list),STDINandENVfrom the Shortcut and returnSTDOUTto the next action. A script that raises or writes toSTDERRfails the Shortcut with Ruby's error message. - Script editor. Syntax highlighting, a console with output, errors, backtrace and timing, a Stop button for runaway scripts, plus search, sort, rename and sample scripts to start from.
- iCloud Drive sync. Scripts live in a "RubyCuts" folder in iCloud Drive, so they sync between your devices and you can edit them in any editor. Without iCloud they're kept on the device.
- Gems. Search and install pure-Ruby gems from rubygems.org, dependencies included, and
requirethem right away.sqlite3comes bundled. Gems with C extensions can't be installed (Apple doesn't allow loading downloaded native code). - Widgets. Put a script on your Home Screen or Mac desktop: the "Ruby Script" widget runs it on the system's refresh schedule and draws what it builds with
WidgetUI(text, SF Symbols, stacks, colors), in small, medium and large sizes. Tapping the widget opens the script. - Native bridge.
Device::ClipboardandDevice::Notificationlet scripts read and write the clipboard and post notifications. - iPhone, iPad and Mac. One universal app, with a menu bar, keyboard shortcuts and a Settings window on the Mac, and a built-in reference for the Ruby-to-Shortcuts contract.
iOS 26+ / iPadOS 26+, or macOS 26+.
See docs/development.md for building CRuby, the Xcode project, running tests, signing and the mise tasks.



