rucola
Get Version
0.5.0→ ‘rucola’
What
A Framework for rapidly building RubyCocoa applications
Rucola is a light weight framework that helps you write RubyCocoa apps. It allows you to build, test, and deploy applications using rake commands, eliminating the need to use XCode for the most common tasks.
Rucola provides a set of generators to help you generate controllers, window controllers, and document-based applications. It also provides APIs for simplifying some of Objective-C’s ways of doing things.
Requirements
- RubyCocoa 0.13.2 That’s NOT the one currently included with Leopard
- For testing it’s adviced to install the following gems: test-spec, mocha, zentest (autotest)
Installing
$ sudo gem install rucola
Demonstration of usage
Generating an application skeleton
$ rucola MyApp -a "Your Name"
Running this command will give you a complete, working application with a single window already bound to your application controller.
Running an application
$ rake
Extras
Documentation can be found here.
Sample apps can be found at:
svn co svn://rubyforge.org/var/svn/rucola/extras/examples/
There’s a basic TextMate bundle which contains only 4 commands which are the equivalent of the “go to file” commands in the rails bundle. With these going from a controller to it’s test/model/view file is only a shortcut away. To get it:
cd ~/Library/Application\ Support/TextMate/Bundles/ svn co svn://rubyforge.org/var/svn/rucola/extras/Rucola.tmbundle
There’s a crash reporter plugin and a ActiveRecord plugin available. Check their descriptions with:
cd MyApp script/plugin list
Or install them with:
cd MyApp script/plugin install SACrashReporter
Forum
http://groups.google.com/group/rucola
How to submit patches
Read the 8 steps for fixing other people’s code and for section 8b: Submit patch to Google Groups, use the Google Group above.
Browse the git repo online at: http://github.com/alloy/rucola/tree/master
The latest version can be checked out with:
$ git clone git://github.com/alloy/rucola.git
License
This code is free to use under the terms of the MIT license.
Contact
Comments are welcome. Send an email via the forum
Eloy Duran, 11th July 2008
Theme extended from Paul Battley