From owner-freebsd-ports@FreeBSD.ORG Thu Jan 19 18:30:25 2006 Return-Path: X-Original-To: ports@freebsd.org Delivered-To: freebsd-ports@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B0FB116A425 for ; Thu, 19 Jan 2006 18:30:25 +0000 (GMT) (envelope-from alex@wittig.name) Received: from brieftraeger.wittig.name (hotzenplotz.wittig.name [193.111.199.173]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1F3C943D46 for ; Thu, 19 Jan 2006 18:30:24 +0000 (GMT) (envelope-from alex@wittig.name) Received: from p54a13a92.dip0.t-ipconnect.de ([84.161.58.146] helo=[192.168.0.151]) by brieftraeger.wittig.name with esmtpsa (TLSv1:DHE-RSA-AES256-SHA:256) (Exim 4.60 (FreeBSD)) (envelope-from ) id 1EzeY7-000PhH-9J for ports@freebsd.org; Thu, 19 Jan 2006 19:30:21 +0100 Message-ID: <43CFDB3B.90303@wittig.name> Date: Thu, 19 Jan 2006 19:32:27 +0100 From: Alexander Wittig User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; de; rv:1.8) Gecko/20051201 Thunderbird/1.5 Mnenhy/0.7.3.0 MIME-Version: 1.0 To: ports@freebsd.org References: <43CFD2AD.2070501@innerewut.de> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: alex@wittig.name X-Spam-Score: -4.2 X-Spam-Bar: ---- X-Spam-Report: =?ISO-8859-15?Q?score=3D-4=2E2=2C_tests=3DALL=5FTRUSTED=3D-1=2E8=2CBAYE?= =?ISO-8859-15?Q?S=5F00=3D-2=2E599=2CNORMAL=5FHTTP=5FTO=5FIP=3D0=2E175?= Cc: Subject: Re: Ruby 1.8.4 and Rails problems X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Jan 2006 18:30:25 -0000 > I just tried to run webrick on a clean rails application, and as soon > as I try to access localhost:3000, ruby core dumps: > > => Booting WEBrick... > => Rails application started on http://0.0.0.0:3000 > => Ctrl-C to shutdown server; call with --help for options > [2006-01-19 11:07:00] INFO WEBrick 1.3.1 > [2006-01-19 11:07:00] INFO ruby 1.8.4 (2005-12-24) [i386-freebsd6] > [2006-01-19 11:07:00] INFO WEBrick::HTTPServer#start: pid=24451 port=3000 > /usr/local/lib/ruby/1.8/timeout.rb:59: [BUG] Segmentation fault > ruby 1.8.4 (2005-12-24) [i386-freebsd6] > > Abort (core dumped) > When I submitted the initial update patch I made sure at least basic RubyOnRails works. Now I checked again but I cannot reproduce your problem. I did the following: [alex@hotzenplotz:~]rails rails create [...] create log/test.log [alex@hotzenplotz:~]cd rails [alex@hotzenplotz:~/rails]ruby script/server => Booting WEBrick... => Rails application started on http://0.0.0.0:3000 => Ctrl-C to shutdown server; call with --help for options Now I can view localhost:3000 with my browser. The application environment reported by the greetings page is: Ruby version 1.8.4 (i386-freebsd6) RubyGems version 0.8.11 Rails version 1.0.0 Active Record version 1.13.2 Action Pack version 1.11.2 Action Web Service version 1.0.0 Action Mailer version 1.1.5 Active Support version 1.2.5 Application root /usr/home/alex/rails Environment development Database adapter mysql Are you sure you're using the current rails port (rails 1.0.0)? Alex