Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/drnic/ruby-tmbundle
Ruby TextMate bundle
https://github.com/drnic/ruby-tmbundle
Last synced: 9 days ago
JSON representation
Ruby TextMate bundle
- Host: GitHub
- URL: https://github.com/drnic/ruby-tmbundle
- Owner: drnic
- Created: 2008-02-26T00:49:22.000Z (almost 17 years ago)
- Default Branch: master
- Last Pushed: 2012-07-19T01:42:12.000Z (over 12 years ago)
- Last Synced: 2024-12-10T05:42:10.633Z (18 days ago)
- Language: Ruby
- Homepage: http://drnicwilliams.com
- Size: 1.1 MB
- Stars: 160
- Watchers: 3
- Forks: 48
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Ruby TextMate bundle
--------------------The TextMate bundle that first appeared in the famous "Rails 15 minute video." This is it, many years later.
Installation
============To install via Git:
mkdir -p ~/Library/Application\ Support/TextMate/Bundles
cd ~/Library/Application\ Support/TextMate/Bundles
git clone git://github.com/drnic/ruby-tmbundle.git "Ruby.tmbundle"
osascript -e 'tell app "TextMate" to reload bundles'Source can be viewed or forked via GitHub: [http://github.com/drnic/ruby-tmbundle](http://github.com/drnic/ruby-tmbundle)
Validate and Save
=================When you save a Ruby file, it will first validate the syntax and print any validation error as a tooltip.
You can get more detailed syntax error information if you have Rubinius installed (and `rbx` in TextMate's $PATH).
If you have Homebrew installed:
brew install rubinius
Then in TextMate, add your homebrew `bin` folder to the $PATH.
* Go to TextMate's Preferences (Cmd+,)
* Go to "Advanced", then "Shell Variables"
* Edit the `PATH` variable, and add ":/path/to/homebrew/bin"For example, if you have homebrew installed in `~/.homebrew` then you might add `:/Users/drnic/.homebrew/bin`
Save a dodgy Ruby file and see the beautifully helpful syntax message.