diff --git a/script/daemons/sync_all.rb b/script/daemons/sync_all.rb index a1e5ab41..a3196110 100755 --- a/script/daemons/sync_all.rb +++ b/script/daemons/sync_all.rb @@ -1,4 +1,4 @@ -require ENV["RAILS_ENV_PATH"] +# require ENV["RAILS_ENV_PATH"] require File.expand_path(File.join(File.dirname(__FILE__), '../..', 'config', 'environment')) require 'rubygems' @@ -8,4 +8,6 @@ Resource.sync_all_binaries Book.sync_all sleep Settings.evernote.daemon_frequency + rescue: error + puts error.backtrace end