public
Description: MacRuby TextMate bundle
Homepage: http://drnic.github.com/macruby-tmbundle/
Clone URL: git://github.com/drnic/macruby-tmbundle.git
name age message
file .gitignore Fri Dec 19 18:32:50 -0800 2008 ignore _site + .test-result [Dr Nic Williams]
file .gitmodules Sat Dec 20 20:02:04 -0800 2008 website -> gh-pages folder [Dr Nic Williams]
directory Commands/ Mon Dec 29 00:59:30 -0800 2008 can convert full objc method signature in clipb... [Dr Nic Williams]
file README.markdown Fri Dec 19 15:46:15 -0800 2008 revert email address to normal characters [drnic]
directory SharedSupport/ Fri Dec 19 18:32:00 -0800 2008 added tests to io.rb; pass on ruby1.9 [Dr Nic Williams]
directory Snippets/ Thu Jan 01 18:08:29 -0800 2009 'alloc' => 'alloc.init' [Dr Nic Williams]
directory Support/ Mon Dec 29 22:09:22 -0800 2008 short signatures with one argument have the def... [Dr Nic Williams]
directory Syntaxes/ Sun Dec 28 23:13:29 -0800 2008 starting a objc->macruby signature converter [Dr Nic Williams]
file info.plist Thu Jan 01 18:08:29 -0800 2009 'alloc' => 'alloc.init' [Dr Nic Williams]
submodule website - df88a29 Mon Dec 29 22:09:22 -0800 2008 short signatures with one argument have the def... [Dr Nic Williams]
README.markdown

MacRuby TextMate bundle

Installation

To install via Git:

cd ~/"Library/Application Support/TextMate/Bundles/"
git clone git://github.com/drnic/macruby-tmbundle.git "MacRuby.tmbundle"
osascript -e 'tell app "TextMate" to reload bundles'

Source can be viewed or forked via GitHub: http://github.com/drnic/macruby-tmbundle/tree/master

MacRuby & Ruby 1.9 support

The default Ruby.tmbundle's Run and Run Rake Task commands (and all others) are executed through the default Ruby 1.8 interpreter. Instead, we want MacRuby files to be run through macruby instead.

This bundle also attempts to upgrade all of TextMate's Support/lib/*.rb files and many of the Ruby.tmbundle's Commands to work with MacRuby. This means:

  • using macruby instead of ruby as $TM_RUBY
  • cleaning up Support/lib code to be ruby1.9 compliant (TextMate's Support folder has been copied into bundle as SharedSupport folder)
  • fixing plist.bundle for ruby1.9

Currently Cmd+R (Run) and Ctrl+Shift+R (Run Rake Task) have been attempted, but both are failing.

Authors

Dr Nic Williams, drnicwilliams@gmail.com, http://drnicwilliams.com, Mocra