drnic / macruby-tmbundle
- Source
- Commits
- Network (2)
- Issues (0)
- Downloads (0)
- Wiki (1)
- Graphs
-
Branch:
convert_objc…
| name | age | message | |
|---|---|---|---|
| |
.gitignore | ||
| |
.gitmodules | ||
| |
Commands/ | ||
| |
README.markdown | ||
| |
SharedSupport/ | ||
| |
Snippets/ | ||
| |
Support/ | ||
| |
Syntaxes/ | Sun Dec 28 23:13:29 -0800 2008 | |
| |
info.plist | ||
| |
website - df88a29 |
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
macrubyinstead ofrubyas$TM_RUBY - cleaning up
Support/libcode to be ruby1.9 compliant (TextMate'sSupportfolder has been copied into bundle asSharedSupportfolder) - 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

