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 #2

Open
LautaroLobo12 opened this issue May 12, 2019 · 5 comments

Comments

Projects
None yet
2 participants
@LautaroLobo12
Copy link

commented May 12, 2019

I did the exact things that the readme.md says, I deleted middleman-syntax from the gemfile and added middleman-vegas. I activated it in the config.rb, and this happened when running the localhost and opening the blog post:

NameError at  blog first haskell function

May be this post says something about how to fix it, but I'm too newbie and don't get it really D:
https://www.thoughtco.com/nameerror-uninitialized-2907928

@burtlo

This comment has been minimized.

Copy link
Owner

commented May 14, 2019

I'm thinking that Rouge is never required and somehow it was before or in another way in the code. I'll add a require to see if that solves it.

@burtlo

This comment has been minimized.

Copy link
Owner

commented May 14, 2019

Pushed a new release with the require in place b13ea7f

@LautaroLobo12

This comment has been minimized.

Copy link
Author

commented May 14, 2019

Thanks men! Nothing crashed this time, but the web page has no CSS applied to the code blocks. It's seems like vegas doesn't applies. I mean I wrote activate :vegas but the code blocks appear naked, without CSS.

And something just to point it out, I can't have middleman-syntax and middleman-vegas gems installed at the same time, because one uses a different version of rouge that the other, and makes the middleman server command to crash. I don't thinks that's something really bad, but I thought that may be good to point it out.

Any ideas of why vegas does not get activated?

@burtlo

This comment has been minimized.

Copy link
Owner

commented May 15, 2019

I appreciate you trying again. This goes to show that I never saw what happens when using this plugin in a brand new middleman app. I'll take a look in the morning.

@LautaroLobo12

This comment has been minimized.

Copy link
Author

commented Jun 23, 2019

HI! Did you try it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.