Skip to content
Browse files

Exclude Gemfile.lock when sync'ing from another repo.

  • Loading branch information...
1 parent b6fe43f commit 7fac3c620613575671e7a90756782169536ce928 @brixen brixen committed Oct 3, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 rakelib/git.rb
3 rakelib/git.rb
@@ -94,7 +94,8 @@ def git_push
# Don't use -a (--archive) as it includes -t, --times which can
# cause .rbc files to not be regenerated when they should.
Rsync_options = "-rlpgoDvP --delete --exclude '*svn*' --exclude '.git' --exclude '*swp' " \
- "--exclude '*rbc' --exclude '*.rej' --exclude '*.orig' --exclude 'tags'"
+ "--exclude '*rbc' --exclude '*.rej' --exclude '*.orig' --exclude 'tags' " \
+ "--exclude 'Gemfile.lock'"
def rsync(left, right)
sh "rsync #{Rsync_options} #{left} #{right}"

0 comments on commit 7fac3c6

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