Deployment stuff. Ignore capistrano. Faster precompiling.

This commit is contained in:
benni 2012-12-22 18:38:49 +01:00
parent b9138efa79
commit 344abf5a26
2 changed files with 7 additions and 1 deletions

5
.gitignore vendored
View file

@ -4,7 +4,6 @@ config/*.yml
db/*.sqlite3 db/*.sqlite3
nbproject/ nbproject/
config/environments/development.rb config/environments/development.rb
capfile
*.swp *.swp
*~ *~
public/**/*_cached.* public/**/*_cached.*
@ -12,3 +11,7 @@ public/**/*_cached.*
.get-dump.yml .get-dump.yml
.sass-cache/ .sass-cache/
doc/app/ doc/app/
# Deployment tools
Capfile
config/deploy.rb
config/deploy/*

View file

@ -58,5 +58,8 @@ module Foodsoft
# Version of your assets, change this if you want to expire all your assets # Version of your assets, change this if you want to expire all your assets
config.assets.version = '1.0' config.assets.version = '1.0'
# Do not enable database connection when precompiling assets
config.assets.initialize_on_precompile = false
end end
end end