Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion ruby 1.9.3 uninitialized constant ETL::Control::Context::Rails (NameError)

Received: by 10.50.6.167 with SMTP id c7mr4621775iga.1.1334582629571;
        Mon, 16 Apr 2012 06:23:49 -0700 (PDT)
X-BeenThere: activewarehouse-discuss@googlegroups.com
Received: by 10.182.59.112 with SMTP id y16ls2931141obq.8.gmail; Mon, 16 Apr
 2012 06:23:49 -0700 (PDT)
Received: by 10.50.188.232 with SMTP id gd8mr4535569igc.4.1334582629219;
        Mon, 16 Apr 2012 06:23:49 -0700 (PDT)
Received: by 10.50.188.232 with SMTP id gd8mr4535568igc.4.1334582629206;
        Mon, 16 Apr 2012 06:23:49 -0700 (PDT)
Return-Path: <thibaut.barr...@gmail.com>
Received: from mail-iy0-f179.google.com (mail-iy0-f179.google.com [209.85.210.179])
        by gmr-mx.google.com with ESMTPS id md3si4692184igc.1.2012.04.16.06.23.49
        (version=TLSv1/SSLv3 cipher=OTHER);
        Mon, 16 Apr 2012 06:23:49 -0700 (PDT)
Received-SPF: pass (google.com: domain of thibaut.barr...@gmail.com designates 209.85.210.179 as permitted sender) client-ip=209.85.210.179;
Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of thibaut.barr...@gmail.com designates 209.85.210.179 as permitted sender) smtp.mail=thibaut.barr...@gmail.com; dkim=pass header...@gmail.com
Received: by iakh37 with SMTP id h37so8136824iak.38
        for <activewarehouse-discuss@googlegroups.com>; Mon, 16 Apr 2012 06:23:49 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20120113;
        h=mime-version:in-reply-to:references:from:date:message-id:subject:to
         :content-type;
        bh=tylTbvPyR8R261nOPKKiRxmbya5uHFzS1mXD2TOipvU=;
        b=oWW3mj61sswmRakY93AldmX1mwnM5MFPAOqG1pVG1yyY+Qz6PzIxCUTUFMrNetWHEA
         yU87B/NUI3wPRVZy+eE9QKrPV/KhV5hQf0hfiawMfCdMuq0HA5FyLWnTC9nCBqkWw/4X
         w2Htr7+USL11vFCtw+gkclRKx+kmUxQzHlUyXsm7YizhJ7xtgS1F8buYvSL5qTnwvoky
         ODyxn0oPxaFeuCt+sNMOTuNLmG2lq8WkfQRuqsSCnFf/BBCL8OoGtBVSxp41LHKvMUin
         vgcyqms5gJ8qUOtH1RfJxvQ6Eo3u5jkrJabwKgscwFC+WbRmDoELY9Zp6wYDvu0/ZXM5
         +gVA==
Received: by 10.50.45.167 with SMTP id o7mr6535318igm.22.1334582629058; Mon,
 16 Apr 2012 06:23:49 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.64.35.161 with HTTP; Mon, 16 Apr 2012 06:23:24 -0700 (PDT)
In-Reply-To: <11171919.19.1334582207167.JavaMail.geo-discussion-forums@vbuc10>
References: <11171919.19.1334582207167.JavaMail.geo-discussion-forums@vbuc10>
From: =?ISO-8859-1?Q?Thibaut_Barr=E8re?= <thibaut.barr...@gmail.com>
Date: Mon, 16 Apr 2012 15:23:24 +0200
Message-ID: <CABoqfJd3oisAy+7SQksTWsK51aHUs71yjagtif3YvsKynyj...@mail.gmail.com>
Subject: Re: ruby 1.9.3 uninitialized constant ETL::Control::Context::Rails (NameError)
To: activewarehouse-discuss@googlegroups.com
Content-Type: multipart/alternative; boundary=14dae9340f838746a704bdcbbbd3

--14dae9340f838746a704bdcbbbd3
Content-Type: text/plain; charset=ISO-8859-1

Hi Sinisa!


> require Rails.root.to_s + "/config/environment"


my understanding is that Rails is not yet defined, because requiring the
environment will probably define it.

Try sticking with:

*require File.join(File.dirname(__FILE__), '../../config/environment.rb')*
*
*
and let us know how it goes!

(I will be able to help out a bit more in depth tonight).

Thibaut
--
http://www.logeek.fr

--14dae9340f838746a704bdcbbbd3
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Hi Sinisa!<div><div class=3D"gmail_quote"><div>=A0</div><blockquote class=
=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padd=
ing-left:1ex">require Rails.root.to_s + &quot;/config/environment&quot;</bl=
ockquote>

</div><br></div><div>my understanding is that Rails is not yet defined, bec=
ause requiring the environment will probably define it.</div><div><br></div=
><div>Try sticking with:</div><div><br></div><div><i style>require File.joi=
n(File.dirname(__FILE__), &#39;../../config/environment.rb&#39;)</i></div>

<div><i style><br></i></div><div><font color=3D"#222222" face=3D"arial, san=
s-serif">and let us know how it goes!</font></div><div><font color=3D"#2222=
22" face=3D"arial, sans-serif"><br></font></div><div><font color=3D"#222222=
" face=3D"arial, sans-serif">(I will be able to help out a bit more in dept=
h tonight).</font></div>

<div><font color=3D"#222222" face=3D"arial, sans-serif"><br></font></div><d=
iv><font color=3D"#222222" face=3D"arial, sans-serif">Thibaut</font></div><=
div><font color=3D"#222222" face=3D"arial, sans-serif">--</font></div><div>=
<font color=3D"#222222" face=3D"arial, sans-serif"><a href=3D"http://www.lo=
geek.fr">http://www.logeek.fr</a></font></div>


--14dae9340f838746a704bdcbbbd3--