Hi Lloyd,
I would start with config/initializers/dryml_taglibs.rb. By default it
precompiles stuff only in production mode. You can try disabling that
line (see
https://groups.google.com/forum/#!msg/hobousers/hRtg_LFdVds/Ds6w0aQlBE4J)
Regards,
Ignacio
El 26/10/13 10:38, Lloyd Burgess escribió:
Hi Ignacio
Thanks very much for the fast reply!
It will be something I have done that has caused the error, however there have
been many changes since I last pushed to Heroku so I'm not sure what is causing
it.
It is fine in development but not on Heroku, so there is something different
between the environments. I am starting to look at the initializers to see if
there are problems there, as presumably the class is not getting created.
The app is fairly complicated - integration with Shopify and Omniauth, several
custom DRYML taglib files, custom initializers, JavaScript libs and a bunch of
other gems.
I have another app and that works fine on Heroku.
So any suggestions on where to look would be really appreciated. Is there any
info on how Hobo gets initialized when starting - eg what starts all the DRYML
file compiles?
Best regards
Lloyd
Sent from my iPhone
On 26 Oct 2013, at 08:50, Ignacio Huerta <[email protected]> wrote:
Hi Lloyd,
This is a strange error, like if Heroku couldn't find that class. Can you try
to go back in git history to a previous commit, to see if it's something
related to a change you've made?
If that's not the problem, please tell us and I'll try to create a test app to
reproduce it in Heroku.
Warm regards,
Ignacio
El 25/10/13 21:47, kiwi lloyd escribió:
Hi
I have built an app with hobo and it works fine on my local PC however
crashes when I try to run it on Heroku. It was working OK on Heroku but
something has changed and I don't know what! The start of the error
trace is:
2013-10-25T19:12:25.177964+00:00 heroku[web.1]: State changed from
starting to up
2013-10-25T19:12:35.280734+00:00 app[web.1]: Started GET "/login" for
95.149.137.128 at 2013-10-25 19:12:35 +0000
2013-10-25T19:12:35.371857+00:00 app[web.1]:
2013-10-25T19:12:35.371857+00:00 app[web.1]: NameError (uninitialized
constant Dryml::TemplateEnvironment):
2013-10-25T19:12:35.371857+00:00 app[web.1]:
vendor/bundle/ruby/1.9.1/gems/dryml-2.0.1/lib/dryml.rb:230:in `make_rende
rer_class'
2013-10-25T19:12:35.371857+00:00 app[web.1]:
vendor/bundle/ruby/1.9.1/gems/dryml-2.0.1/lib/dryml.rb:92:in `page_render
er'
2013-10-25T19:12:35.371857+00:00 app[web.1]:
vendor/bundle/ruby/1.9.1/gems/dryml-2.0.1/lib/dryml.rb:61:in `empty_page_
renderer'
2013-10-25T19:12:35.371857+00:00 app[web.1]:
vendor/bundle/ruby/1.9.1/gems/dryml-2.0.1/lib/dryml/railtie/page_tag_reso
lver.rb:13:in `find_templates'
2013-10-25T19:12:35.371857+00:00 app[web.1]:
vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.13/lib/action_view/template/
resolver.rb:46:in `block in find_all'
.....
My environment is:
hobo 2.0.1
rails 3.2.12
ruby 1.9.3p327
Any ideas?
thanks
Lloyd
--
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/groups/opt_out.
--
Ignacio Huerta Arteche
http://www.ihuerta.net
Teléfono: 0034 645 70 77 35
Email realizado con software libre
--
You received this message because you are subscribed to a topic in the Google Groups
"Hobo Users" group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/hobousers/Dl9NI2dDSN4/unsubscribe.
To unsubscribe from this group and all its topics, 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/groups/opt_out.
--
Ignacio Huerta Arteche
http://www.ihuerta.net
Teléfono: 0034 645 70 77 35
Email realizado con software libre
--
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/groups/opt_out.