Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
36 lines (19 sloc) 1.31 KB

#HAML TextMate Bundle

##Description

This HAML textmate bundle aids you to code haml even faster

use Cmd+Shift+P to create partial from selection. This was already implemented in the ruby on rails Bundle, but was explicitly for erb.

##Credits

Created by [Florian Vallen] Parts of this bundle were ported from the official Ruby Haml TextMate bundle and the (handcrafted,http://github.com/freelancing-god/handcrafted-haml-textmate-bundle) bundle by (adamstac,http://github.com/adamstac).

##Installation

cd ~/Library/Application\ Support/TextMate/Bundles/

git clone git@github.com:flov/HAML-TextMate-Bundle.git

osascript -e 'tell app "TextMate" to reload bundles'

##Troubleshooting

if you get something like this:

osascript -e 'tell app "TextMate" to reload bundles'

2010-05-10 20:50:41.307 osascript[456:903] Error loading /Library/ScriptingAdditions/Adobe Unit/Contents/MacOS/Adobe Unit Types: dlopen(/Library/ScriptingAdditions/Adobe Unit/Contents/MacOS/Adobe Unit Types, 262): no suitable image found. Did find:

/Library/ScriptingAdditions/Adobe Unit/Contents/MacOS/Adobe Unit Types: no matching architecture in universal wrapper osascript: OpenScripting.framework - scripting addition "/Library/ScriptingAdditions/Adobe Unit" declares no loadable handlers.

try opening the .tmbundle in finder. This did the trick for me.