Skip to content
Browse files

[ ! ] Asset Precompiling

  • Loading branch information...
1 parent 83b6ab9 commit 6159e4f148ff0d6eda08d8c5a48c245291567f50 @pnegri pnegri committed
Showing with 4 additions and 0 deletions.
  1. +2 −0 .gitignore
  2. +1 −0 iugu-ux.gemspec
  3. +1 −0 lib/iugu-ux/engine.rb
View
2 .gitignore
@@ -34,3 +34,5 @@ spec/dummy/tmp/
spec/dummy/tmp/*/*
spec/dummy/tmp/**
*.sqlite3
+public/assets/**
+sandbox/public/assets/**
View
1 iugu-ux.gemspec
@@ -24,6 +24,7 @@ Gem::Specification.new do |s|
# s.add_dependency 'actionpack', '>= 3.1'
s.add_development_dependency "rails", ">= 3.1"
+ s.add_development_dependency "uglifier"
s.add_dependency "railties", ">= 3.1.0"
s.add_dependency 'coffee-script'
s.add_dependency 'sass-rails'
View
1 lib/iugu-ux/engine.rb
@@ -2,6 +2,7 @@ module IuguUX
class Engine < Rails::Engine
initializer 'iugusdk.action_controller' do |app|
+ app.config.assets.precompile += %w( iugu-ux.css iugu-ux.js )
end
end

0 comments on commit 6159e4f

Please sign in to comment.
Something went wrong with that request. Please try again.