set :output, "#{ path }/log/sync.log"

# REVIEW:
#  require File.expand_path(File.join(File.dirname(__FILE__), '..', 'config', 'environment'))
#  require 'rubygems'
#  every Settings.notes.synch_every_minutes.minutes do

every 1.minute do
  rake 'RAILS_ENV=production sync:all'
end

set :output, "#{ path }/log/sync.log"

# REVIEW:
#  require File.expand_path(File.join(File.dirname(__FILE__), '..', 'config', 'environment'))
#  require 'rubygems'
#  every Settings.notes.synch_every_minutes.minutes do

every 1.minute do
  rake 'sync:all'
end

Remove env from rake task
Remove env from rake task

Whenever adds it automatically.
