| CARVIEW |
Select Language
HTTP/2 302
server: nginx
date: Mon, 22 Dec 2025 12:39:19 GMT
content-type: text/plain; charset=utf-8
content-length: 0
x-archive-redirect-reason: found capture at 20100214224816
location: https://web.archive.org/web/20100214224816/https://rubycocoa.sourceforge.net/GettingStarted
server-timing: captures_list;dur=0.848801, exclusion.robots;dur=0.071103, exclusion.robots.policy;dur=0.054886, esindex;dur=0.014221, cdx.remote;dur=11.987366, LoadShardBlock;dur=221.821871, PetaboxLoader3.datanode;dur=83.443443, PetaboxLoader3.resolve;dur=32.872917
x-app-server: wwwb-app54-dc6
x-ts: 302
x-tr: 272
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=1
set-cookie: wb-p-SERVER=wwwb-app54; path=/
x-location: All
x-as: 14061
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
HTTP/2 200
server: nginx
date: Mon, 22 Dec 2025 12:39:20 GMT
content-type: text/html
x-archive-orig-server: nginx/0.7.63
x-archive-orig-date: Sun, 14 Feb 2010 22:48:16 GMT
x-archive-orig-connection: close
x-archive-orig-x-powered-by: PHP/5.2.11
x-archive-orig-set-cookie: 96522b217a86eca82f6d72ef88c4c7f4=ffj4slaaigid0l88adu60be2e7; path=/
x-archive-orig-expires: Thu, 19 Nov 1981 08:52:00 GMT
x-archive-orig-cache-control: no-cache
x-archive-orig-pragma: no-cache
x-archive-orig-etag: 8f55835cb1c80efb00847d5d024c1d79
x-archive-orig-content-length: 12581
x-archive-guessed-content-type: text/html
x-archive-guessed-charset: utf-8
memento-datetime: Sun, 14 Feb 2010 22:48:16 GMT
link: ; rel="original", ; rel="timemap"; type="application/link-format", ; rel="timegate"
content-security-policy: default-src 'self' 'unsafe-eval' 'unsafe-inline' data: blob: archive.org web.archive.org web-static.archive.org wayback-api.archive.org athena.archive.org analytics.archive.org pragma.archivelab.org wwwb-events.archive.org
x-archive-src: 51_14_20100214201006_crawl103_IndexOnly-c/51_14_20100214224813_crawl102.arc.gz
server-timing: captures_list;dur=0.809949, exclusion.robots;dur=0.030649, exclusion.robots.policy;dur=0.011706, esindex;dur=0.012652, cdx.remote;dur=28.330860, LoadShardBlock;dur=204.886220, PetaboxLoader3.datanode;dur=240.451585, PetaboxLoader3.resolve;dur=72.939842, load_resource;dur=157.333531
x-app-server: wwwb-app54-dc6
x-ts: 200
x-tr: 462
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=1
x-location: All
x-as: 14061
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
content-encoding: gzip
RubyCocoa: GettingStarted
If you decided to built Ruby by yourself and not using the version Apple provides, make sure you compiled it as a shared library, passing the --enabled-shared option to the configure script. By default this option is not activated.
The easiest way to get started with RubyCocoa is probably to install the latest binary release. You can grab the binaries from the files repository∞. They have a .dmg file extension.
Once the release disk is mounted on your system, you will find an installer. Just double-click on it, then follow the steps.
If you don't want or cannot use the binary releases described earlier, it is still possible to grab a sources tarball for every release. You can grab them from the files repository∞. They have a .tgz extension.
NOTE: You can't install RubyCocoa from source if you have installed Safari 3 Beta. It will fail at the config phase. You can reinstall Safari 3 Beta after installing RubyCocoa, however you will miss Webkit support in RubyCocoa. The best thing would be to revert to the original version of WebKit before building RubyCocoa.
Once you have uncompressed the tarball, you can build the project by issuing the following commands in the terminal:
If you want to customize the build, you can pass some options to the config phase. Type the following to get more help on this:
Alternatively, you can also generate the RDoc files (refer to BridgeDoc for more information):
You should use the patch for rexml/document.rb from this message∞ if during the config phase you get the following error:
You can always grab the latest bits from the SVN trunk:
Then you can simply follow the same instructions for the source release to build and install the project.
You can browse the subversion repository∞ too.
Now that RubyCocoa is installed on your machine, you can go further by reading the documentation, trying the samples or watching some screencasts.
If it didn't work as promised, feel free to contact us.
Requirements
- Mac OS X 10.4.8 or later. Versions before 10.4 are not supported anymore, though there is an effort to support 10.3, but still not finished.
- Xcode SDK
If you decided to built Ruby by yourself and not using the version Apple provides, make sure you compiled it as a shared library, passing the --enabled-shared option to the configure script. By default this option is not activated.
Binary Releases
The easiest way to get started with RubyCocoa is probably to install the latest binary release. You can grab the binaries from the files repository∞. They have a .dmg file extension.
Once the release disk is mounted on your system, you will find an installer. Just double-click on it, then follow the steps.
Sources Releases
If you don't want or cannot use the binary releases described earlier, it is still possible to grab a sources tarball for every release. You can grab them from the files repository∞. They have a .tgz extension.
NOTE: You can't install RubyCocoa from source if you have installed Safari 3 Beta. It will fail at the config phase. You can reinstall Safari 3 Beta after installing RubyCocoa, however you will miss Webkit support in RubyCocoa. The best thing would be to revert to the original version of WebKit before building RubyCocoa.
Once you have uncompressed the tarball, you can build the project by issuing the following commands in the terminal:
$ ruby install.rb config
$ ruby install.rb setup
$ sudo ruby install.rb install
$ ruby install.rb setup
$ sudo ruby install.rb install
If you want to customize the build, you can pass some options to the config phase. Type the following to get more help on this:
$ ruby install.rb --help
Alternatively, you can also generate the RDoc files (refer to BridgeDoc for more information):
$ ruby install.rb doc
Troubleshooting
You should use the patch for rexml/document.rb from this message∞ if during the config phase you get the following error:
BSROOT="/Users/stephen/dev/ruby/src/rubycocoa/framework/bridge-support"
CFLAGS="" /usr/local/bin/ruby build.rb
Generating BridgeSupport metadata for: CoreFoundation ...
Collect metadata (20.65495 seconds)
/usr/local/lib/ruby/1.8/rexml/document.rb:186:in `write': undefined
local variable or method `transitive' for <UNDEFINED> ...
</>:REXML::Document (NameError)
from ./gen_bridge_metadata.rb:1516:in `generate_xml'
from ./gen_bridge_metadata.rb:1516:in `open'
from ./gen_bridge_metadata.rb:1516:in `generate_xml'
from ./gen_bridge_metadata.rb:542:in `write'
from build.rb:106
from build.rb:50:in `measure'
from build.rb:104
from build.rb:62:in `each'
from build.rb:62
config failed
hook /Users/stephen/dev/ruby/src/rubycocoa/framework/post-config.rb failed:
'system
BSROOT="/Users/stephen/dev/ruby/src/rubycocoa/framework/bridge-support"
CFLAGS="" /usr/local/bin/ruby build.rb' failed
CFLAGS="" /usr/local/bin/ruby build.rb
Generating BridgeSupport metadata for: CoreFoundation ...
Collect metadata (20.65495 seconds)
/usr/local/lib/ruby/1.8/rexml/document.rb:186:in `write': undefined
local variable or method `transitive' for <UNDEFINED> ...
</>:REXML::Document (NameError)
from ./gen_bridge_metadata.rb:1516:in `generate_xml'
from ./gen_bridge_metadata.rb:1516:in `open'
from ./gen_bridge_metadata.rb:1516:in `generate_xml'
from ./gen_bridge_metadata.rb:542:in `write'
from build.rb:106
from build.rb:50:in `measure'
from build.rb:104
from build.rb:62:in `each'
from build.rb:62
config failed
hook /Users/stephen/dev/ruby/src/rubycocoa/framework/post-config.rb failed:
'system
BSROOT="/Users/stephen/dev/ruby/src/rubycocoa/framework/bridge-support"
CFLAGS="" /usr/local/bin/ruby build.rb' failed
The Bleeding-Edge
You can always grab the latest bits from the SVN trunk:
$ svn co https://rubycocoa.svn.sourceforge.net/svnroot/rubycocoa/trunk/src rubycocoa
Then you can simply follow the same instructions for the source release to build and install the project.
You can browse the subversion repository∞ too.
And then?!
Now that RubyCocoa is installed on your machine, you can go further by reading the documentation, trying the samples or watching some screencasts.
If it didn't work as promised, feel free to contact us.
Last edited on Tuesday, November 27 2007 at 1:04 AM UTC
© 2001-2007 The RubyCocoa Project.
Powered by Wikka Wakka Wiki 1.1.6.3∞
Page was generated in 0.0671 seconds