Download Latest Version RubyCocoa-1.2.0.tar.gz (2.0 MB)
Email in envelope

Get an email when there's a new version of RubyCocoa

Home / RubyCocoa / 1.0.4
Name Modified Size InfoDownloads / Week
Parent folder
RubyCocoa-1.0.4.tar.gz 2012-08-27 2.8 MB
RubyCocoa-1.0.4-OSX10.8.dmg 2012-08-27 1.5 MB
RubyCocoa-1.0.4-OSX10.7.dmg 2012-08-27 1.5 MB
readme.txt 2012-08-27 2.9 kB
RubyCocoa-1.0.4-OSX10.6.dmg 2012-08-27 1.6 MB
Totals: 5 Items   7.5 MB 0
Hi,

I am honored to announce the immediate release of RubyCocoa 1.0.4.

RubyCocoa is a Mac OS X framework that allows Cocoa programming in the
object-oriented scripting language Ruby. In other words, it is a
bridge that let you access Objective-C objects from Ruby, and vice-versa.

You can learn more about RubyCocoa on our website:

http://sourceforge.net/projects/rubycocoa/

A source tarball as well as binary installers for Mac OS X 10.8, 10.7
and 10.6 are provided.

This is mostly a bugs fix release, on 10.8/10.7 or Xcode 4.

Installing this release using the binary installer or manually
with the default build parameters won't override the system
version of RubyCocoa that ships with Mac OS X, it will go in
/Library while the system version is in /System.

The release notes are following. Enjoy!

KIMURA Wataru

== Changes 1.0.4 from 1.0.2: 2012-08-27

=== Fixes

  * Fixed leaks at initializing RubyCocoa-1.0.3.
  * Fixed RubyCocoa does not load bridgesupport files under nested framework,
    such as "QuartzCore.framework/Frameworks/CoreImage.framework".


== Changes 1.0.3 from 1.0.2: 2012-08-26 (Not released)

=== Improvements

  * turn on debug printing by environment RUBYCOCOA_DEBUG.
  * project templates for Xcode 4.x. [Experimental]
    templates should be installed under ~/Library/Developer/Xcode/Templates.
    you can try the templates with the following command.

        $ svn export --force https://rubycocoa.svn.sourceforge.net/svnroot/rubycocoa/trunk/src/template/Xcode4.x/Templates ~/Library/Developer/Xcode/Templates


=== Fixes

  * Fixed RubyCocoa apps fail to launch by Xcode-4 "Run" with an error
    "invalid option -N (-h will show valid options)".
    Now RubyCocoa apps do not process commandline options such as "-d".

    If you want to avoid this problem with Lion built-in RubyCocoa,
    edit main.m and rb_main.rb in your project like this.

        diff -ur old/main.m new/main.m
        --- old/main.m  2011-11-19 15:49:58.000000000 +0900
        +++ new/main.m  2011-11-19 15:49:16.000000000 +0900
        @@ -11,5 +11,6 @@
         
         int main(int argc, const char *argv[])
         {
        -    return RBApplicationMain("rb_main.rb", argc, argv);
        +    RBApplicationInit("rb_main.rb", argc, argv, nil);
        +    return NSApplicationMain(argc, argv);
         }
        diff -ur old/rb_main.rb new/rb_main.rb
        --- old/rb_main.rb      2011-11-19 15:49:58.000000000 +0900
        +++ new/rb_main.rb      2011-11-19 15:49:16.000000000 +0900
        @@ -17,7 +17,4 @@
           end
         end
         
        -if $0 == __FILE__ then
        -  rb_main_init
        -  OSX.NSApplicationMain(0, nil)
        -end
        +rb_main_init

    the API RBApplicationInit() is available since version 0.12.0.
    (version of Leopard built-in RubyCocoa is 0.13.x)

  * Fixed NSBundle.loadNibNamed_owner(nibname, owner) fails on Lion or Later.

Source: readme.txt, updated 2012-08-27