Category: Faqs
-
What’s all this ‘cygwin’, ‘mingw’, and ‘djgpp’ stuff?
Ruby is written to take advantage of the rich feature set of a Unix environment. Unfortunately, Windows is missing some of the functions, and implements others differently. As a result, some kind of mapping layer is needed to run Ruby (and other Unix-based programs) under windows. You may come across different versions of the Ruby…
-
Are precompiled binaries available?
A single download that contains everything you need to run Ruby under various Windows operating systems. is available from RubyCentral’s One-click Windows installer. This installation uses cygwin, and includes Tk support. If you want other installation options, precompiled binaries for Windows are also available from http://www.os.rim.or.jp/~eban/. If you download the ruby-1.x.y-yyyymmdd-i386-cygwin.tar.gz package (which is a good choice), you’ll also…
-
How do I compile Ruby?
Under Unix, Ruby uses the autoconf system to configure the build environment. You don’t need the autoconf command on your box to build Ruby from a distribution; just use the commands: You may need superuser privileges to install Ruby if you don’t override the default installation location (/usr/local). You can get a full list of…
-
Can I get to the development source tree?
If you have a CVS client, you can check out the current source tree using: If you do not have CVS you can get a nightly snapshot of the development source from ftp://ftp.netlab.co.jp/pub/lang/ruby/snapshot.tar.gz.
-
Where can I get Ruby sources?
The latest version of Ruby can be downloaded from: http://www.ruby-lang.org/en/download.html Mirror sites are also listed on this page. Also on this page is a link to a nightly snapshot of the development tree.
-
What operating systems support Ruby?
Ruby is developed under Linux, and is written in fairly straightforward C. It runs under UNIX, DOS, Windows 95/98/NT/2000, Mac OSX, BeOS, Amiga, Acorn Risc OS, and OS/2. August 2002: MacOSX 10.2 now comes with ruby installed by default. (ruby 1.6.7 (2002-03-01) [powerpc-darwin6.0]) See http://developer.apple.com/technotes/tn2002/tn2053.html. H Morita notes: There’s a MacOS (not X) port of…
-
How Does Ruby Compare With Python?
Python and Ruby are both object oriented languages that provide a smooth transition from procedural to OO programming styles. Smalltalk, by contrast, is object only – you can’t do anything until you understand objects, inheritance and the sizable Smalltalk class hierarchy. By providing procedural training wheels, Python and Ruby “fix” one of the features that…
-
I can’t understand Ruby even after reading the manual!
The syntax of Ruby has been fairly stable since Ruby 1.0, but new features are added every now and then. So, the books and the online documentation can get behind. If you have a problem, feel free to ask in the mailing list (see ruby-talk mailing list). Generally you’ll get timely answers from matz himself, the…
-
I can’t understand Ruby even after reading the manual!
The syntax of Ruby has been fairly stable since Ruby 1.0, but new features are added every now and then. So, the books and the online documentation can get behind. If you have a problem, feel free to ask in the mailing list (see the Mailing Lists page). Generally you’ll get timely answers from Matz himself,…