module SpreeSite
  class Engine < Rails::Engine
    def self.activate
      # Add your custom site logic here
    end
    config.to_prepare &method(:activate).to_proc
  end
end
module SpreeSite
  class Engine < Rails::Engine
    def self.activate
      # Add your custom site logic here
    end
    
    def load_tasks
    end
    
    config.to_prepare &method(:activate).to_proc
  end
end
Fix rake tasks from being invoked twice
Fix rake tasks from being invoked twice

[#1792 state:resolved]
