Unfortunately I got this:
*ERROR: undefined method `nested_cache' for
#<ActionView::Base:0x000000073aa3e8>*
The require work-around is making dryml available but not the taglibs
themselves. Is there a way to force loading taglibs also? Everything is
fine at development. This problem is when I run the same code in Heroku.
On Monday, July 7, 2014 1:48:08 PM UTC+2, Ignacio Huerta wrote:
>
> Thanks for sharing the solution, that can be certainly useful :).
>
> Warm regards,
> Ignacio
>
> El 07/07/14 12:26, umuro escribió:
> > The final working version has this
> > |
> > require'dryml/template_environment'
> > require'dryml/dryml_builder'
> > require'dryml/parser'
> > require'dryml/parser/document'
> > require'dryml/parser/source'
> > require'dryml/parser/elements'
> > require'dryml/parser/tree_parser'
> > require'dryml/parser/base_parser'
> > require'dryml/parser/element'
> > require'dryml/parser/attribute'
> > require'dryml/parser/text'
> > require'dryml/scoped_variables'
> >
> > require'dryml'
> > require'dryml/railtie'
> > |
> >
> > As far as I can see the only difference of production environment is
> > eager loading.
> >
> > On Monday, July 7, 2014 11:34:00 AM UTC+2, umuro wrote:
> >
> > Greate. It works on development as you tell me.
> >
> > However, it did not work when I deployed to heroku. It was not
> > finding DRYML related classes. And I started exceptions one by one:
> >
> > require 'dryml/template_environment'
> > require 'dryml/dryml_builder'
> > require 'dryml/parser'
> > require 'dryml/parser/document'
> > require 'dryml/parser/source'
> > require 'dryml/parser/elements'
> > require 'dryml/parser/tree_parser'
> > require 'dryml/parser/base_parser'
> > require 'dryml/parser/element'
> > require 'dryml/parser/attribute'
> > require 'dryml/parser/text'
> >
> > ...
> >
> >
> > No this is not the right way! How can I require/load the dryml
> parser?
> >
> > On Thursday, July 3, 2014 9:32:05 PM UTC+2, umuro wrote:
> >
> > For *ERB* you can do this:
> > |
> >
>
> template=ERB.newFile.new("app/views/oeb_stylesheets/show.css.erb").read,nil,"%"
>
>
> >
> > |
> > Is there a way to do it for *DRYML*?
> >
> > --
> > You received this message because you are subscribed to the Google
> > Groups "Hobo Users" group.
> > To unsubscribe from this group and stop receiving emails from it, send
> > an email to [email protected] <javascript:>
> > <mailto:[email protected] <javascript:>>.
> > To post to this group, send email to [email protected]
> <javascript:>
> > <mailto:[email protected] <javascript:>>.
> > Visit this group at http://groups.google.com/group/hobousers.
> > For more options, visit https://groups.google.com/d/optout.
>
--
You received this message because you are subscribed to the Google Groups "Hobo
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/hobousers.
For more options, visit https://groups.google.com/d/optout.