New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Erubi superclass mismatch #946
Comments
I get this error in Rails 4 as well.
Removing better_errors avoid the problem. |
better_errors 2.3.0 adds a dependency on Once Erubis has been added to the bundle, haml chooses Erubi. In rails 5.0.5, the exception occurs on the module Haml
class ErubiTemplateHandler < ActionView::Template::Handlers::ERB::Erubi
I can find no direct declaration of |
I've narrowed it down a bit: any constant referenced under
|
I've opened #948 to fix this. |
Thanks for tracing this down, sounds like you had a bit of fun there.
…On Tue, Aug 8, 2017 at 2:53 PM Robin Daugherty ***@***.***> wrote:
I've opened #948 <#948> to fix this.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#946 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAAH_kM6UUUnGmpu4Q8DljFSkdD6U6PXks5sWK6ugaJpZM4OuAVp>
.
|
I had this problem also and fixed gem Better Errors to 2.2.0. Hope this helps somebody. |
Seems to work fine with Better Errors 2.2.0. Thanks! |
I want people in this issue to test latest master branch of Haml including #948. Thanks! |
Sorry for early merge, but could you guys try master including #952? |
Works for me! Thank you.
…On Fri, Aug 18, 2017 at 12:21 AM Takashi Kokubun ***@***.***> wrote:
Sorry for early merge, but could you guys try master including #952
<#952>?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#946 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAAH_hNER0VSgtIDqnwURHQNAMF6LfFyks5sZRFRgaJpZM4OuAVp>
.
|
Works fine for my project as well. Thanks!
|
Error description
Attempting to run a Rails application with
better_errors
2.3.0 which has a dependency toerubi
(instead of erubis as in 2.2.0) results in the following errorConfiguration
The text was updated successfully, but these errors were encountered: