Message from discussion
Gemfiles not loaded in time for environment settings
Received: by 10.101.78.11 with SMTP id f11mr239750anl.16.1308739272169;
Wed, 22 Jun 2011 03:41:12 -0700 (PDT)
X-BeenThere: daemon-kit@googlegroups.com
Received: by 10.100.43.1 with SMTP id q1ls18645anq.5.gmail; Wed, 22 Jun 2011
03:41:11 -0700 (PDT)
Received: by 10.101.52.5 with SMTP id e5mr34430ank.22.1308739271809;
Wed, 22 Jun 2011 03:41:11 -0700 (PDT)
Date: Wed, 22 Jun 2011 03:41:05 -0700 (PDT)
From: Farrel Lifson <farrel.lif...@gmail.com>
Reply-To: daemon-kit@googlegroups.com
To: daemon-kit@googlegroups.com
Message-ID: <12144942.468.1308739265648.JavaMail.geo-discussion-forums@yqad28>
In-Reply-To: <BANLkTi=7uJUv24eXKizp0LA=Qwt9h2ewWg@mail.gmail.com>
Subject: Re: Gemfiles not loaded in time for environment settings
MIME-Version: 1.0
Content-Type: multipart/mixed;
boundary="----=_Part_466_5659206.1308739265647"
------=_Part_466_5659206.1308739265647
Content-Type: multipart/alternative;
boundary="----=_Part_467_21023401.1308739265647"
------=_Part_467_21023401.1308739265647
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Just a note that in environment.rb we call
Bundler.require :default, DaemonKit.env
which requires all the gems plus gems in any special groups
(test,production). In boot.rb I only put
Bundler.require
as DaemonKit is not initialised but then.
I'm hoping that having two Bundler.require in boot.rb and environment.rb
will load everything up correctly.
------=_Part_467_21023401.1308739265647
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 7bit
Just a note that in environment.rb we call<br><br> Bundler.require :default, DaemonKit.env<br><br>which requires all the gems plus gems in any special groups (test,production). In boot.rb I only put<br><br> Bundler.require<br><br>as DaemonKit is not initialised but then.<br><br>I'm hoping that having two Bundler.require in boot.rb and environment.rb will load everything up correctly.<br>
------=_Part_467_21023401.1308739265647--
------=_Part_466_5659206.1308739265647--