lib/capistrano/tasks/bundle_rsync.rake in capistrano-bundle_rsync-0.2.0 vs lib/capistrano/tasks/bundle_rsync.rake in capistrano-bundle_rsync-0.2.1
- old
+ new
@@ -9,10 +9,10 @@
@bundler ||= Capistrano::BundleRsync::Bundler.new(self)
end
def scm
@scm ||=
- if fetch(:bundle_rsync_scm) == 'local_git'
+ if fetch(:bundle_rsync_scm).to_s == 'local_git'
require 'capistrano/bundle_rsync/local_git'
set :bundle_rsync_local_release_path, repo_url
Capistrano::BundleRsync::LocalGit.new(self)
else
require 'capistrano/bundle_rsync/git'