From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS33070 50.56.128.0/17 X-Spam-Status: No, score=0.0 required=3.0 tests=MSGID_FROM_MTA_HEADER, TVD_RCVD_IP shortcircuit=no autolearn=unavailable version=3.3.2 Path: news.gmane.org!not-for-mail From: Alexandre Riveira Newsgroups: gmane.comp.lang.ruby.rainbows.general Subject: background threads Date: Mon, 18 Jun 2012 18:32:00 +0000 Message-ID: <4FDF7420.7030300@objectdata.com.br> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1340055229 20883 80.91.229.3 (18 Jun 2012 21:33:49 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 18 Jun 2012 21:33:49 +0000 (UTC) To: rainbows-talk-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org Original-X-From: rainbows-talk-bounces-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org Mon Jun 18 23:33:48 2012 Return-path: Envelope-to: gclrrg-rainbows-talk@m.gmane.org X-Original-To: rainbows-talk-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org Delivered-To: rainbows-talk-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding:x-gm-message-state; bh=S5oM+DR9RQtG0pk+UrKj9zMpLWpwQ6cSNPVYib8bzGI=; b=kG1V9MR+uqnfTtpwjNpg9dZdcFZzHBVbio5PkFfp+d5UNmcprGKqtG95V0o68MrOwr oOjGqNLs6RE2jFNseyRWPuLf/ylFFY+fKgmZpvSY8jHOQBPXJrhtjYio7mfphLxKyx0x LasDqfBymV2N3PxJ0pTWa0vFCcG+nPmBToLApeLLbzAoFwFYdDZlMjPkINQdcPBPO0Ih deNrRvxLBmoYjMXW5T4gcKCseKVlSCD+t4EsUKg9W13faKX3KAsxBFVkDLGknDvRKhra xuWJNlhU5I+XmqBhl+tM0o3MAFMWYFdvNsFqjj7rF3HmXFVxTjDfVSfAYbdAHxjG7rY8 UXkg== User-Agent: Mozilla/5.0 (X11; Linux i686; rv:10.0.4) Gecko/20120421 Thunderbird/10.0.4 X-Gm-Message-State: ALoCoQmA8lD26rWWOm8LyotVUC35jlt5mCDgvRjf2ScMZkB7Fzt5yycaDcyS+EwnsfFRAieYb7KQ X-BeenThere: rainbows-talk-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: rainbows-talk-bounces-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org Errors-To: rainbows-talk-bounces-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org Xref: news.gmane.org gmane.comp.lang.ruby.rainbows.general:359 Archived-At: Received: from 50-56-192-79.static.cloud-ips.com ([50.56.192.79] helo=rubyforge.org) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SgjZs-0006Qq-AF for gclrrg-rainbows-talk@m.gmane.org; Mon, 18 Jun 2012 23:33:40 +0200 Received: from localhost.localdomain (localhost [127.0.0.1]) by rubyforge.org (Postfix) with ESMTP id 7D7422E06B; Mon, 18 Jun 2012 21:33:37 +0000 (UTC) Received: from mail-gh0-f178.google.com (mail-gh0-f178.google.com [209.85.160.178]) by rubyforge.org (Postfix) with ESMTP id A95352E06B for ; Mon, 18 Jun 2012 21:31:46 +0000 (UTC) Received: by ghbf1 with SMTP id f1so4876201ghb.23 for ; Mon, 18 Jun 2012 14:31:46 -0700 (PDT) Received: by 10.236.79.35 with SMTP id h23mr20276721yhe.60.1340055106782; Mon, 18 Jun 2012 14:31:46 -0700 (PDT) Received: from [192.168.0.125] ([189.78.153.40]) by mx.google.com with ESMTPS id i67sm69466687yhh.21.2012.06.18.14.31.45 (version=SSLv3 cipher=OTHER); Mon, 18 Jun 2012 14:31:46 -0700 (PDT) Hello ! I'm trying to put in background threads in Rainbows. I created a config/initializers/background_thread.rb, where I Thread.new do # my background job end With that, I have problems to "reload" in rainbows Thank you all for your help. Alexandre Riveira Brazil _______________________________________________ Rainbows! mailing list - rainbows-talk-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org http://rubyforge.org/mailman/listinfo/rainbows-talk Do not quote signatures (like this one) or top post when replying