Skip to content

Commit

Permalink
Load haml-edge if it's all new and shiny. Closes GH-26.
Browse files Browse the repository at this point in the history
  • Loading branch information
chriseppstein committed Jul 9, 2009
1 parent 4d51dea commit 59a6067
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/compass/dependencies.rb
@@ -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

0 comments on commit 59a6067

Please sign in to comment.