Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Exclude paperclip default storage folder from git clean on rails3 push template #18

Open
wants to merge 3 commits into from

2 participants

This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/inploy/templates/rails3_push.rb
View
2  lib/inploy/templates/rails3_push.rb
@@ -45,7 +45,7 @@ def push_code
command = []
command << "cd #{application_path}"
command << "git reset --hard"
- command << "git clean -f -d"
+ command << "git clean -f -d -e public/system" # Keeps paperclip uploaded files
command << "git submodule update --init"
command << "bundle install --deployment" unless skip_step?('bundle_install')
remote_run command.join(' && ')
Something went wrong with that request. Please try again.