1
0
Fork 0
mirror of https://github.com/haml/haml.git synced 2022-11-09 12:33:31 -05:00

Rails gem-plugin compatibility, why not?

This commit is contained in:
Nathan Weizenbaum 2008-07-18 11:15:44 -04:00
parent 9016da55f5
commit 2dc50fd434

7
rails/init.rb Normal file
View file

@ -0,0 +1,7 @@
begin
require File.join(File.dirname(__FILE__), 'lib', 'haml') # From here
rescue LoadError
require 'haml' # From gem
end
Haml.init_rails(binding)