Skip to content

Instantly share code, notes, and snippets.

@twmills
Created August 29, 2010 18:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save twmills/556561 to your computer and use it in GitHub Desktop.
Save twmills/556561 to your computer and use it in GitHub Desktop.
gem 'haml', '3.0.14'
gem "rails3-generators", :group => :development
gsub_file 'config/application.rb', /# Configure the default encoding used in templates for Ruby 1.9./ do
<<-RUBY
config.generators do |g|
g.template_engine :haml
end
# Configure the default encoding used in templates for Ruby 1.9.
RUBY
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment