Skip to content
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

NameError: undefined method precompiled_method_return_value' for class Haml::Compiler' #138

Open
MadBomber opened this issue Dec 7, 2017 · 3 comments

Comments

@MadBomber
Copy link

I am in the process of upgrading an old applications base libraries. Currently I am at Rails 4.2.6. haml-rails has been constrained to version '~> 0.5.3' which works. However, when I take the version constraint off and let bundler bring in the latest version I get the error

NameError: undefined method precompiled_method_return_value' for class Haml::Compiler'

when I run my test suite. Am I stuck on version 0.5.3 until I get to a newer rails? If so, what version of rails can I start letting haml-rails version float to the latest?

@syguer
Copy link
Member

syguer commented Dec 19, 2017

Please try bundle update haml or/and spring stop

@natesire
Copy link

natesire commented Jun 9, 2018

Removing spring has solved countless errors for me. Spring causes all kinds of errors you'd never suspect. Don't install it and save yourself a ton of headaches.

@MadBomber
Copy link
Author

Now doing the update for Rails 5.2.0. I am tired of Spring and looking forward to Summer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants