From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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=5.0 tests=T_DKIM_INVALID shortcircuit=no autolearn=unavailable version=3.3.2 X-Original-To: archivist@yhbt.net Delivered-To: archivist@dcvr.yhbt.net Received: from rubyforge.org (50-56-192-79.static.cloud-ips.com [50.56.192.79]) by dcvr.yhbt.net (Postfix) with ESMTP id 7F16E1F7A7 for ; Thu, 23 Feb 2012 03:33:46 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by rubyforge.org (Postfix) with ESMTP id 5ED9A262FF4; Thu, 23 Feb 2012 03:33:45 +0000 (UTC) X-Original-To: mongrel-unicorn@rubyforge.org Delivered-To: mongrel-unicorn@rubyforge.org X-Greylist: delayed 2128 seconds by postgrey-1.31 at rubyforge; Thu, 23 Feb 2012 03:04:43 UTC Received: from mail.denetron.com (mail.denetron.com [38.108.185.146]) by rubyforge.org (Postfix) with ESMTP id A1784262FE6 for ; Thu, 23 Feb 2012 03:04:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=collinatorstudios.com; s=dkim-2009; h=Content-Type:MIME-Version:Message-ID:Subject:cc:To:From:Date; bh=6cGcL3WNlPLDA8tQgohewLD666fpWYE/ZJw9In9cJuw=; b=tDcIdKzf9lwpBsV2dj+7dUd5AFGOJlFXOuYTu4sKubl/deC6gdJz51+DCtbFfsn3ryXUB6fwKMp7C/DtmSOjNA==; Received: from pool-71-105-87-54.lsanca.dsl-w.verizon.net ([71.105.87.54] helo=[10.0.1.3]) by mail.denetron.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.76 (FreeBSD)) (envelope-from ) id 1S0OQg-000A5w-5C; Thu, 23 Feb 2012 02:29:10 +0000 Date: Wed, 22 Feb 2012 18:29:07 -0800 (PST) From: "Patrick J. Collins" To: mongrel-unicorn@rubyforge.org Subject: using unicorn as a local development server Message-ID: User-Agent: Alpine 2.00 (OSX 1167 2008-08-23) MIME-Version: 1.0 Cc: Patrick J Collins X-BeenThere: mongrel-unicorn@rubyforge.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: mongrel-unicorn-bounces@rubyforge.org Errors-To: mongrel-unicorn-bounces@rubyforge.org Hi Unicorn friends, I wanted to try out Unicorn as my development server and I see that I need to perform some configuration to make this work nicely with rails. >>From what I can tell the only real things I need to do to make unicorn similar to the default rails server is to supply a config file with: listen 3000 logger Logger.new(STDOUT) ... After creating this file, I was kind of confused as to how to proceed.. Should I made a bash alias like alias unicorn="unicorn_rails -c /path/to/unicorn_config.rb" and lastly, is there a convention where a configuration file like this should go on a unix/OS X system? Thank you kindly. Patrick J. Collins http://collinatorstudios.com _______________________________________________ Unicorn mailing list - mongrel-unicorn@rubyforge.org http://rubyforge.org/mailman/listinfo/mongrel-unicorn Do not quote signatures (like this one) or top post when replying