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)
|
unless defined?(Sass)
|
||||||
require 'rubygems'
|
require 'rubygems'
|
||||||
begin
|
begin
|
||||||
gem 'haml','>= 2.2.0'
|
gem 'haml-edge', '>= 2.3.0'
|
||||||
|
$stderr.puts "Loading haml-edge gem."
|
||||||
rescue Exception
|
rescue Exception
|
||||||
$stderr.puts "WARNING: haml 2.2 gem not found. Trying to find haml on the load path."
|
#pass
|
||||||
end
|
end
|
||||||
require 'sass'
|
require 'sass'
|
||||||
end
|
end
|
Loading…
Reference in New Issue
Block a user