RubyCocoa : GettingStarted

Most recent edit on 2007-11-27 01:04:12 by EloyDuran [Added trouleshooting: rexml]

Additions:
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 ... >: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




Edited on 2007-10-01 07:27:55 by LaurentSansonetti

Additions:
~- 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.

Deletions:
~- Mac OS X 10.4.8 or later. If you run 10.3 the instructions are different. Versions before 10.3 are not supported anymore.



Edited on 2007-10-01 07:04:19 by LaurentSansonetti

Additions:
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.

Deletions:
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 there may be parts that will break (?).



Edited on 2007-09-21 08:37:56 by EloyDuran [Added note about the config phase failing when people have the Safari 3 Beta installed.]

Additions:
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 there may be parts that will break (?).



Edited on 2007-06-22 11:10:28 by EloyDuran [Fixed typo]

Additions:
You can browse the subversion repository too.

Deletions:
You can brouse subversion repository.



Edited on 2007-06-22 01:13:19 by FujimotoHisa

Additions:
You can brouse subversion repository.



Edited on 2007-06-21 17:04:21 by JpTix

Additions:
Now that RubyCocoa is installed on your machine, you can go further by reading the documentation, trying the samples or watching some screencasts.

Deletions:
Now that RubyCocoa is installed on your machine, you can go further by reading the documentation and trying the samples.



Edited on 2007-05-27 07:43:17 by LaurentSansonetti

Additions:
~- Mac OS X 10.4.8 or later. If you run 10.3 the instructions are different. Versions before 10.3 are not supported anymore.

Deletions:
~- Mac OS X 10.4.8 or later. If you run 10.3 the instructions are different. Versions before 10.3 are not supported anymore.



Edited on 2007-05-27 07:42:48 by LaurentSansonetti

Additions:
~- Mac OS X 10.4.8 or later. If you run 10.3 the instructions are different. Versions before 10.3 are not supported anymore.

Deletions:
~- Mac OS X 10.4.8 or later. If you run 10.3 the instructions are different. Versions before 10.2 are not supported anymore.



Edited on 2007-05-26 03:26:42 by LaurentSansonetti

Additions:
~- Mac OS X 10.4.8 or later. If you run 10.3 the instructions are different. Versions before 10.2 are not supported anymore.

Deletions:
~- Mac OS X 10.4.8 or later
Please refer to the Mac OS X 10.3 build instructions if you run this version. Versions before 10.3 are not supported anymore.




Edited on 2007-05-26 03:21:17 by LaurentSansonetti

Additions:
~- Mac OS X 10.4.8 or later
Please refer to the Mac OS X 10.3 build instructions if you run this version. Versions before 10.3 are not supported anymore.


Deletions:
~- Mac OS X 10.4.8 or later (previous versions of Mac OS X are not supported anymore)



Edited on 2007-05-24 05:56:57 by LaurentSansonetti

Additions:
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.



Edited on 2007-05-22 12:07:42 by LaurentSansonetti

Additions:
~- Mac OS X 10.4.8 or later (previous versions of Mac OS X are not supported anymore)

Deletions:
~- Mac OS X 10.4.9 or later (previous versions of Mac OS X are not supported anymore)



Edited on 2007-05-22 01:06:22 by EloyDuran [Updated link to the new Samples page]

Additions:
Now that RubyCocoa is installed on your machine, you can go further by reading the documentation and trying the samples.

Deletions:
Now that RubyCocoa is installed on your machine, you can go further by reading the documentation and trying the samples.



Edited on 2007-05-21 07:59:25 by LaurentSansonetti

Deletions:

Getting Started





Edited on 2007-05-19 12:00:19 by EloyDuran

Additions:
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.

Deletions:
The easier way to get started with RubyCocoa is probably to install the latest binary release. You can grab them from the files repository. They have a .dmg file extension.
Once the release disk is mounted in your system, you will find an installer. Just double-click on it, then follow the steps.




Edited on 2007-05-19 11:46:55 by LaurentSansonetti

Additions:
Sources Releases
$ ruby install.rb config
$ ruby install.rb setup
$ sudo ruby install.rb install
(bash)
$ ruby install.rb --help
$ ruby install.rb doc
(bash)
$ svn co https://rubycocoa.svn.sourceforge.net/svnroot/rubycocoa/trunk/src rubycocoa


Deletions:
Source Releases
ruby install.rb config
ruby install.rb setup
sudo ruby install.rb install
ruby install.rb --help
ruby install.rb doc
 $ svn co https://rubycocoa.svn.sourceforge.net/svnroot/rubycocoa/trunk/src rubycocoa 




Edited on 2007-05-19 11:44:24 by LaurentSansonetti

Additions:
Requirements
  • Mac OS X 10.4.9 or later (previous versions of Mac OS X are not supported anymore)
  • Xcode SDK
Binary Releases
The easier way to get started with RubyCocoa is probably to install the latest binary release. You can grab them from the files repository. They have a .dmg file extension.
Once the release disk is mounted in your system, you will find an installer. Just double-click on it, then follow the steps.
Source 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.
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
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
The Bleeding-Edge
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.
And then?!
If it didn't work as promised, feel free to contact us.


Deletions:
(template)
The latest release is X.
Requirements.

Download binary and source releases.

http://sourceforge.net/project/showfiles.php?group_id=44114

Install source releases.

Running the tests is optional, but recommended.
The doc task is optional and only in trunk (I believe?), refer to BridgeDoc.
$ cd rubycocoa
$ ruby install.rb config
$ ruby install.rb setup
$ ruby install.rb test
$ ruby install.rb doc
$ sudo ruby install.rb install

The bleeding-edge (SVN trunk).

Checkout the latest code with the following command:
Then follow the instructions for the source release to install.

And then?!





Edited on 2007-05-19 10:38:31 by EloyDuran [Added info about where to download and how to install]

Additions:

Download binary and source releases.

http://sourceforge.net/project/showfiles.php?group_id=44114

Install source releases.

Running the tests is optional, but recommended.
The doc task is optional and only in trunk (I believe?), refer to BridgeDoc.
$ cd rubycocoa
$ ruby install.rb config
$ ruby install.rb setup
$ ruby install.rb test
$ ruby install.rb doc
$ sudo ruby install.rb install

The bleeding-edge (SVN trunk).

Checkout the latest code with the following command:
 $ svn co https://rubycocoa.svn.sourceforge.net/svnroot/rubycocoa/trunk/src rubycocoa 

Then follow the instructions for the source release to install.

And then?!

Now that RubyCocoa is installed on your machine, you can go further by reading the documentation and trying the samples.


Deletions:
Download binary releases.
Source releases.
The bleeding-edge (SVN trunk).
Now that RubyCocoa is installed in your machine, you can go further by reading the documentation and trying the samples.




Oldest known version of this page was edited on 2007-05-19 05:40:46 by LaurentSansonetti []
Page view:

Getting Started


(template)

The latest release is X.
Requirements.
Download binary releases.
Source releases.
The bleeding-edge (SVN trunk).

Now that RubyCocoa is installed in your machine, you can go further by reading the documentation and trying the samples.
© 2001-2007 The RubyCocoa Project. Powered by Wikka Wakka Wiki 1.1.6.3
SourceForge.net Logo
Page was generated in 0.1737 seconds