Please sign in to comment.
Upgraded HAML to 2.2.21 and tested that it works. Also removed incorr…
…ect indentation in application.html.haml which was causing code to be incorrectly wrapped in <link> </link> tags which is bad html.
- Loading branch information...
Showing with 19 additions and 10 deletions.
|@@ -1,8 +1,16 @@|
|require File.join(File.dirname(__FILE__), 'lib', 'haml') # From here|
|- require 'haml' # From gem|
|+ require 'haml' # From gem|
|+ rescue LoadError => e|
|+ # gems:install may be run to install Haml with the skeleton plugin|
|+ # but not the gem itself installed.|
|+ # Don't die if this is the case.|
|+ raise e unless defined?(Rake) && Rake.application.top_level_tasks.include?('gems:install')|
|-# Load Haml and Sass|
|+# Load Haml and Sass.|
|+# Haml may be undefined if we're running gems:install.|
|+Haml.init_rails(binding) if defined?(Haml)|