-
Notifications
You must be signed in to change notification settings - Fork 42
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
undefined method 'include?' for nil:Nilclass #50
Comments
I am not familiar with this library but intrigued by it. @hwhelchel do you have a sample project I can look at and possibly assist in resolving your issue. |
@bdougie awesome, I just made a sample project: https://github.com/hwhelchel/netlify-middleman-test I've got it connected to netlify here |
Hey @hwhelchel I appreciate you providing this test project. I was able find out this is partially a Netlify thing. The reason your build works locally and not on Netlify is because our build containers don't have your specific Ruby version, I am not sure why a minor version has failures and another doesn't and not as familiar with this library in general. But I did run Can you send a support request to netlify.com/support asking to add a I did get a different error on Netlify when I tried to
You might want to research that version on Netlify for to see if you get that error too |
@bdougie thanks for digging into this. I've submitted the support request. |
Here's the list of currently supported Ruby versions on Netlify. This does include 2.3.3 and 2.4.0 :) 2.0.0-p247 And here's how to set it: you can pick a different version by adding a /.ruby-version file to your repository. It should include just one of those version strings. |
I have the same problem, but not only on Netlify (use .ruby-version 2.3.3 as in local) but also on my local machine..... and |
I have a middleman site that I deploy to netlify.
When I try to use
middleman-imageoptim
in the build process, it breaks on netlify's server. With that said, I can get a build to successfully complete locally on my mac.It appears to be mutating the sitemap somehow, causing
middleman-inliner
to failconfig.rb:
Stack Trace:
/cc @netlify @bdougie
The text was updated successfully, but these errors were encountered: