Skip to content

Commit

Permalink
Merge pull request #3 from kaukas/support-assets-precompile
Browse files Browse the repository at this point in the history
Support rake asset:precompile in Rails 3.1+.
  • Loading branch information
Hoseong Hwang committed Oct 25, 2012
2 parents a4eb1a6 + d619a5a commit a760dd9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/dust-rails/rails/engine.rb
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
module Dust module Dust
module Rails module Rails
class Engine < ::Rails::Engine class Engine < ::Rails::Engine
initializer :register_dustjs do |app| initializer :register_dustjs, :group => :all do |app|
app.assets.register_engine '.dust', DustTemplate app.assets.register_engine '.dust', DustTemplate
end end
end end
Expand Down

1 comment on commit a760dd9

@kaukas
Copy link
Contributor

@kaukas kaukas commented on a760dd9 Oct 25, 2012

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

However, rake assets:precompile still does not work properly in the cases when compilation happens in a copy of the project, e.g. during capistrano deployment with deploy_via: :copy.

Please sign in to comment.