public
Description: MacRuby TextMate bundle
Homepage: http://drnic.github.com/macruby-tmbundle/
Clone URL: git://github.com/drnic/macruby-tmbundle.git
drnic (author)
Thu Jan 01 18:08:29 -0800 2009
commit  060c1a7f88d92d7f4adce33aff4e3d2976c019b7
tree    50e52029160b5fa048700683572fc9a2db706e5b
parent  535a2369e736c938873530020fb22e7f0fda6121
name age message
file .gitignore Fri Dec 19 18:32:50 -0800 2008 ignore _site + .test-result [drnic]
file .gitmodules Sat Dec 20 20:02:04 -0800 2008 website -> gh-pages folder [drnic]
directory Commands/ Mon Dec 29 00:59:30 -0800 2008 can convert full objc method signature in clipb... [drnic]
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 [drnic]
directory Snippets/ Thu Jan 01 18:08:29 -0800 2009 'alloc' => 'alloc.init' [drnic]
directory Support/ Mon Dec 29 22:09:22 -0800 2008 short signatures with one argument have the def... [drnic]
directory Syntaxes/ Sun Dec 28 23:13:29 -0800 2008 starting a objc->macruby signature converter [drnic]
file info.plist Thu Jan 01 18:08:29 -0800 2009 'alloc' => 'alloc.init' [drnic]
submodule website - df88a29 Mon Dec 29 22:09:22 -0800 2008 short signatures with one argument have the def... [drnic]
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