ruby-tmbundle

Ruby TextMate bundle

Github星跟踪图

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

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.

主要指标

概览
名称与所有者drnic/ruby-tmbundle
主编程语言Ruby
编程语言Ruby (语言数: 1)
平台
许可证
所有者活动
创建于2008-02-26 08:49:22
推送于2012-07-19 09:42:12
最后一次提交2012-07-19 09:42:12
发布数0
用户参与
星数163
关注者数0
派生数48
提交数623
已启用问题?
问题数4
打开的问题数2
拉请求数6
打开的拉请求数6
关闭的拉请求数3
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?