Permalink
Browse files

rails example serves static assets in production

  • Loading branch information...
jch committed May 25, 2012
1 parent 1075dbc commit 0f547b23993910eee2ce5dea309956e187d3eef3
Showing with 2,167 additions and 2 deletions.
  1. +2 −2 examples/rails/config/environments/production.rb
  2. +19 −0 examples/rails/public/assets/application-b9f870210cd06b1aa5866f7510ba1e52.js
  3. +883 −0 examples/rails/public/assets/application-f1280627729612a73241a1e4113552d0.css
  4. +883 −0 examples/rails/public/assets/application.css
  5. +19 −0 examples/rails/public/assets/application.js
  6. BIN examples/rails/public/assets/fontawesome-webfont-005a48840efd62d3930aa7c5f761c438.woff
  7. +175 −0 examples/rails/public/assets/fontawesome-webfont-20c9c5850d0e36c10574c9bd7225bed9.svg
  8. BIN examples/rails/public/assets/fontawesome-webfont-347222e8281e757082f8c97172fb7bef.svgz
  9. BIN examples/rails/public/assets/fontawesome-webfont-4e8a0fef19937d0b97a3210a35fbfe0d.eot
  10. BIN examples/rails/public/assets/fontawesome-webfont-ea7524141a8a91bdd7d3b1decee250ce.ttf
  11. BIN examples/rails/public/assets/fontawesome-webfont.eot
  12. +175 −0 examples/rails/public/assets/fontawesome-webfont.svg
  13. BIN examples/rails/public/assets/fontawesome-webfont.svgz
  14. BIN examples/rails/public/assets/fontawesome-webfont.ttf
  15. BIN examples/rails/public/assets/fontawesome-webfont.woff
  16. +11 −0 examples/rails/public/assets/manifest.yml
  17. BIN examples/rails/public/assets/rails-be8732dac73d845ac5b142c8fb5f9fb0.png
  18. BIN examples/rails/public/assets/rails.png
  19. BIN ...s/rails/public/assets/twitter/bootstrap/glyphicons-halflings-f6675c325532ec11a984d58e172b8e2a.png
  20. BIN ...s/public/assets/twitter/bootstrap/glyphicons-halflings-white-13553a5bf21ae3cc374006592488ec64.png
  21. BIN examples/rails/public/assets/twitter/bootstrap/glyphicons-halflings-white.png
  22. BIN examples/rails/public/assets/twitter/bootstrap/glyphicons-halflings.png
@@ -9,7 +9,7 @@
config.action_controller.perform_caching = true
# Disable Rails's static asset server (Apache or nginx will already do this)
- config.serve_static_assets = false
+ config.serve_static_assets = true
# Compress JavaScripts and CSS
config.assets.compress = true
@@ -40,7 +40,7 @@
# config.logger = ActiveSupport::TaggedLogging.new(SyslogLogger.new)
# Use a different cache store in production
- # config.cache_store = :mem_cache_store
+ config.cache_store = :memory_store
# Enable serving of images, stylesheets, and JavaScripts from an asset server
# config.action_controller.asset_host = "http://assets.example.com"

Large diffs are not rendered by default.

Oops, something went wrong.

Large diffs are not rendered by default.

Oops, something went wrong.

Large diffs are not rendered by default.

Oops, something went wrong.

Large diffs are not rendered by default.

Oops, something went wrong.

Large diffs are not rendered by default.

Oops, something went wrong.
Binary file not shown.

Large diffs are not rendered by default.

Oops, something went wrong.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,11 @@
+---
+rails.png: rails-be8732dac73d845ac5b142c8fb5f9fb0.png
+application.js: application-b9f870210cd06b1aa5866f7510ba1e52.js
+application.css: application-f1280627729612a73241a1e4113552d0.css
+fontawesome-webfont.eot: fontawesome-webfont-4e8a0fef19937d0b97a3210a35fbfe0d.eot
+fontawesome-webfont.svg: fontawesome-webfont-20c9c5850d0e36c10574c9bd7225bed9.svg
+fontawesome-webfont.svgz: fontawesome-webfont-347222e8281e757082f8c97172fb7bef.svgz
+fontawesome-webfont.ttf: fontawesome-webfont-ea7524141a8a91bdd7d3b1decee250ce.ttf
+fontawesome-webfont.woff: fontawesome-webfont-005a48840efd62d3930aa7c5f761c438.woff
+twitter/bootstrap/glyphicons-halflings-white.png: twitter/bootstrap/glyphicons-halflings-white-13553a5bf21ae3cc374006592488ec64.png
+twitter/bootstrap/glyphicons-halflings.png: twitter/bootstrap/glyphicons-halflings-f6675c325532ec11a984d58e172b8e2a.png
Binary file not shown.

0 comments on commit 0f547b2

Please sign in to comment.