Load haml-edge if it's all new and shiny. Closes GH-26.
This commit is contained in:
parent
4d51dead3a
commit
59a6067b3a
@ -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
|
Loading…
Reference in New Issue
Block a user