This page is a wiki. Please login or create an account to begin editing.

Ruby for MacOS 1.1, or “MacRuby”

No votes yet
Year released:

[www].se [ftp].se [mirror].us [mirror].de
macruby-11b7-010d0.sit_.bin (738.50 KB)
MD5: 07c80cf8f1c4c9be32b6a23b7b3437f4
For Mac OS 8.5 - 8.6 - Mac OS 9
[www].se [ftp].se [mirror].us [mirror].de
macruby-src-010d0.sit_.bin (125.75 KB)
MD5: 2ba971b9fa3ada8860c23fd3341300fa
For Mac OS 8.5 - 8.6 - Mac OS 9
[www].se [ftp].se [mirror].us [mirror].de
ruby-11b7-mwerks-2.diff_.gz (10.23 KB)
MD5: e817755afb96a224d6f37e9f0cbe9473
For Mac OS 8.5 - 8.6 - Mac OS 9
This app works with: SheepShaver,

An early, experimental port of the Ruby programming language to classic Mac OS, made by Japanese programmer Fujimoto Hisakuni and other contributors in 1998. Known varyingly as either “Ruby for Mac OS” or “MacRuby,” but not to be confused with the later MacRuby project, which integrated Ruby with the Objective-C API.

Ruby is provided as a “shlb” shared library, and various application programs are provided to use the Ruby language in various ways, from AppleScript to droplets to just packaging your own single-file program. It also includes a Ruby REPL for trying out the language manually.

Downloads are as follows:

  1. The compiled Ruby applications, libraries and samples
  2. “Files needed to make MacRuby” (Mac-specific sources for the droplets and SIOUX-based console UI)
  3. “difference from ruby-1.1b7” (Mac-specific changes to the original Ruby project source tree made for this port)

There was originally a full Ruby source tree file, but this appears to have been lost to time. One could, however, reconstruct it by applying the third download to an original copy of Ruby 1.1b7’s source.

From the “MacRubyについて” (“About MacRuby”) file included with the download:

 Rubyはまつもと ゆきひろさん作のオブジェクト指向スクリプト言語です。Rubyそのものについては <> などを参照してください。


And a rough translation to English:

 Ruby is an object-oriented scripting language created by Matsumoto Yukihiro. Please refer to <> etc. for Ruby itself.
 MacRuby is a version of Ruby that can be used on MacOS. The name MacRuby is an unofficial, tentative name for a Ruby environment running on MacOS.

MacRuby consists of Ruby (shared library), applications that use Ruby, libraries, extension modules, etc. An application that uses the MacRuby shared library is called a MacRuby application. MacRuby users will typically use Ruby through a MacRuby application.
MacRuby today is pretty experimental. What is written here is subject to change without notice. Please understand that some problems may occur when using it. Currently it doesn't work on 68K Macintosh.

From a section on limitations in the same document:


 困ったことにオリジナルとの違いはたくさんあるのですが... (^^;

 オリジナルと違ってよく落ちます (^^;。sample以下のスクリプトの中には、動かすとエラーになったり、ひどい場合は爆弾を出したりフリーズしたりするものがあります。すみませんが、まだまだ完成度は低いです。


And a translation:

Differences from the original Ruby

Unfortunately there are many differences from the original... (^^;
Unlike the original, it often crashes (^^; Some of the scripts under sample will cause an error when run, and in the worst case, a bomb or freeze. I'm sorry, but it's still quite incomplete.

Parts related to interprocess communication by process and pipe, such as Process module and the IO class, are not implemented properly.
Originally, MacOS did not have the concept of interprocess communication by byte stream, and interprocess communication (or rather inter-application communication) is performed via data with a structure called Apple Event.
The models are too different between MacOS and UNIX.

Information and downloads retrieved from the Wayback Machine’s copy of the original website:

Architecture: PPC

Requires a Power Macintosh. Specific OS version compatibility unknown, but likely at least OS 8-9. Confirmed by this uploader to run on Mac OS 9.2 on a PowerBook G4.