On 9 Feb 2009, at 04:28, Robert Schaaf wrote:

Tedd,

To quote Ogden Nash, I'm a stranger here myself.

I agree about objective-c; it's notationally unattractive. It seems to be an uncomfortable hybrid, despite the power of the object model.

The only appreciable Ruby code I've written is a program that parses the header of a DB2 IXF file (a database dump) and loads it into Excel preserving data types. It uses Appscript, so it's a no-go in MacRuby. I'm now rewriting it to load the DB2 data into postgres.

BTW, can anyone recommend a book on Ruby idioms, frinstance: change all 'x' in a string to 'y'?


Programming Ruby AKA Pickaxe
The Well Grounded Rubyist (the follow on from Ruby For Rails).

str.gsub!(/x/, 'y')


Dave.

Bob Schaaf


On Feb 8, 2009, at 5:28 PM, Tedd Fox wrote:

Awesome advice!!! I actually "accidentally" did that last night :-) Thanks! I am learning Ruby and I am a Macintosh NOT but do not "get" objective-C for some reason, so I am choosing MacRuby as my Speciality. I am glad MacRuby came along :-)

I like the faster prototyping ability (which is exactly what I need).

Any other advice for a newb?  A real newb?


On Feb 8, 2009, at 4:22 PM, Robert Schaaf wrote:

Hello Tedd,

This happened to me until I realized that I updated from the testing branch, rather than the development branch. My guess is that you've done the same.

You need to go here <http://www.macruby.org/trac/wiki/MacRubyDevelopment > and follow the directions at the top of the page.

Then you need to wait for documentation, and more frameworks mapped.

Then you need to wait for the ability to lay out your windows precisely, in a Cocoa-compliant way. (The sliders in the Layout View app are an egregiously awful example!)
Or learn to integrate it with Interface Builder.

Also, MacRuby, which is wonderful beyond measure, will have to mature. Without gems, life is not worth living.

Bob Schaaf


On Feb 8, 2009, at 7:05 AM, Tedd Fox wrote:

Sorry for the newb question, but how can one upgrade from .3?


On Feb 8, 2009, at 3:14 AM, Vincent Isambart wrote:

Macintosh:vincentisambart-hotconsole- cbdd6d06ece482e124516359cd9299294667daeb barry$ macrake (in /Users/barry/dev/vincentisambart-hotconsole- cbdd6d06ece482e124516359cd9299294667daeb)
rake aborted!
no such file to load -- hotcocoa/standard_rake_tasks
/Users/barry/dev/vincentisambart-hotconsole- cbdd6d06ece482e124516359cd9299294667daeb/rakefile:2:in `require'
(See full trace by running task with --trace)

This means you are using an old version of MacRuby, probably 0.3. You
can check it by running macruby -v, or in macirb by displaying
MACRUBY_VERSION and MACRUBY_REVISION.
_______________________________________________
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

_______________________________________________
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

_______________________________________________
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

_______________________________________________
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

_______________________________________________
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

_______________________________________________
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

Reply via email to