Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
24 lines (18 sloc) 551 Bytes
# see http://github.com/nex3/haml
# see also http://github.com/douglasjarquin/ruby-haml-tmbundle/
# see also http://github.com/seaofclouds/sass-textmate-bundle
#gem 'echoe'
gem 'haml', :version => '>=2.1'
unless system("gem list -i haml -v '>=2.1.0'")
inside('tmp') do
run "git clone git://github.com/nex3/haml.git"
inside('tmp/haml') do
run "sudo rake install"
end
run "sudo rm -rf haml"
end
end
rake "gems:install", :sudo => use_sudo?
run "haml --rails ."
git :add => "."
git :commit => "-a -m 'Added haml for views'"