Distributing Rails 3 apps
Lukas Zapletal
lzap+fed at redhat.com
Wed Aug 10 13:29:17 UTC 2011
On 08/10/2011 03:25 PM, Jason Guiditta wrote:
>> if use_bundler
>> > Bundler.require(:default, Rails.env)
>> > else
>> > require 'foo'
>> > require 'bar'
>> > require 'baz'
>> > ...
>> > end
>> >
>> > But maybe that is too simplistic.
>> >
> That seems like a reasonable first pass to me too, I'll give it a try
> today on conductor and see how it goes. If it works, it would be nice
> to have those requires in one place (some kind of template that gets
> pulled in directly or transformed into a Gemfile perhaps).
Yeah I tried this approach two days ago - and one of our initializers
were screaming about unknown "_" method. I guess this had something to
do with gettext, but I already had all our gettext modules required.
I gave up for now.
--
Later,
Lukas "lzap" Zapletal
More information about the ruby-sig
mailing list