I have already this line in one initializer Dryml.precompile_taglibs if File.basename($0) != "rake" && Rails.env.production?
But strangely, this is not working while the basename should be unicorn_rails or bundle (since I do a bundle exec unicorn_rails ...) and Rails.env is production. 2012/11/19 Matt Jones <[email protected]> > > On Nov 17, 2012, at 10:15 AM, Arnaud Doyen wrote: > > > Great, this is working. > > But, if you have anything shorter, I'm ok with that :-) > > Calling 'Dryml.precompile_taglibs' in someplace that runs before the fork > (an initializer, maybe?) will do what you're looking for. > > --Matt Jones > > -- > You received this message because you are subscribed to the Google Groups > "Hobo Users" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/hobousers?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Hobo Users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/hobousers?hl=en.
