Load haml-edge if it's all new and shiny. Closes GH-26.

This commit is contained in:
Chris Eppstein 2009-07-09 12:59:36 -07:00
parent 4d51dead3a
commit 59a6067b3a

View File

@ -1,9 +1,10 @@
unless defined?(Sass)
require 'rubygems'
begin
gem 'haml','>= 2.2.0'
gem 'haml-edge', '>= 2.3.0'
$stderr.puts "Loading haml-edge gem."
rescue Exception
$stderr.puts "WARNING: haml 2.2 gem not found. Trying to find haml on the load path."
#pass
end
require 'sass'
end