From owner-freebsd-ruby@FreeBSD.ORG Tue Jun 10 19:17:04 2014 Return-Path: Delivered-To: freebsd-ruby@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 8FF73122 for ; Tue, 10 Jun 2014 19:17:04 +0000 (UTC) Received: from mail-ig0-x22c.google.com (mail-ig0-x22c.google.com [IPv6:2607:f8b0:4001:c05::22c]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 5F8AA293E for ; Tue, 10 Jun 2014 19:17:04 +0000 (UTC) Received: by mail-ig0-f172.google.com with SMTP id l13so5523874iga.5 for ; Tue, 10 Jun 2014 12:17:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=l+yev+BxbmGpYTqXOqUQQ2VqHNGtyNODel+ISUTnVHU=; b=bSOeBEiM8dpcW/u8qQM7qlwCGlsiR0C/qgaKivjyBQWgWaVc5dPVHEdMRTeoCOeW20 Bv8imrR3mJsOLGmr+izIKfmi2H+qZedfu040CMTRstwA1XTiL1JU14Q5LaYnW4ekmA1P Lo4aFECO8nBC6w3NY+C3Vw0K3wsRTMdTe7IBTTDR7fyOLe8nhkWlHvi2cmE+DzfMkqVZ Yzms2rLTBABYi/x073lwscWyg5mZobKsk1w9mggVyGdxfO7OD5GlqzwpNWUnmVzkQT2b KYzmvZhFfAX2CbeWR5mc7EHs9m2B/TEQNEz2EA20upYwsA1TD4cjObatG/Q6ffdBRm2e dl2A== MIME-Version: 1.0 X-Received: by 10.42.106.15 with SMTP id x15mr40262846ico.67.1402427823829; Tue, 10 Jun 2014 12:17:03 -0700 (PDT) Received: by 10.64.28.198 with HTTP; Tue, 10 Jun 2014 12:17:03 -0700 (PDT) In-Reply-To: References: Date: Tue, 10 Jun 2014 12:17:03 -0700 Message-ID: Subject: Re: therubyracer on FreeBSD From: Patrick To: Dan Langille Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18 Cc: freebsd-ruby@freebsd.org X-BeenThere: freebsd-ruby@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: FreeBSD-specific Ruby discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Jun 2014 19:17:04 -0000 On Fri, Jun 6, 2014 at 7:47 AM, Dan Langille wrote: > I am trying to get therubyracer installed on FreeBSD. We'll use any > Javascript, but this is the one we are trying now. Recommendations > welcomed. > > We are using FreeBSD 8.4 with gcc4.9 and ruby 2.1.2p95 > > I get 'bundle install --deployment' working,but 'bundle exec rake > assets:precompile' gives a bus error. > > I raised an issue: https://github.com/cowboyd/therubyracer/issues/299 > > Seems that bus errors have occurred previously on FreeBSD 8: > https://github.com/cowboyd/therubyracer/issues/96 > > That issue took 10 months to resolve... Hopefully we can figure this out. > > Any ideas please? If you can, I'd avoid therubyracer entirely. I wasted so much time fighting with it on FreeBSD. ExecJS supports other runtimes such as Node.js, which works great and without the upstream battle against which you'll face using therubyracer.