From 2b0e12592077be7fd27e39f6950e9371d2ca5c97 Mon Sep 17 00:00:00 2001 From: Roland Jesse Date: Sun, 27 May 2012 20:40:09 +0200 Subject: [PATCH] remove deploy/assets for Capistrano as we don't want to build assets on production site but do so locally combined with copy-over. --- Capfile | 1 - config/deploy.rb | 4 ---- 2 files changed, 5 deletions(-) diff --git a/Capfile b/Capfile index 1028a3f..1b03fc9 100644 --- a/Capfile +++ b/Capfile @@ -2,4 +2,3 @@ load 'deploy' if respond_to?(:namespace) # cap2 differentiator Dir['vendor/gems/*/recipes/*.rb','vendor/plugins/*/recipes/*.rb'].each { |plugin| load(plugin) } load 'config/deploy' # remove this line to skip loading any of the default tasks -load 'deploy/assets' # see http://guides.rubyonrails.org/asset_pipeline.html \ No newline at end of file diff --git a/config/deploy.rb b/config/deploy.rb index 7690457..ce557d3 100644 --- a/config/deploy.rb +++ b/config/deploy.rb @@ -1,10 +1,6 @@ # Commented out as capistrano cannot finde 'bundle' on production site. # require 'bundler/capistrano' -# Precompile all assets -# If this takes too long, do this: http://www.bencurtis.com/2011/12/skipping-asset-compilation-with-capistrano/ -# load "deploy/assets" - set :application, "contactorama" set :local_repository, "web1@railshosting.de:/files/repositories/git/contactorama.git" set :repository, "/var/www/htdocs/web1/files/repositories/git/contactorama.git"