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

installer assumes layout in erb #127

Open
rubydesign opened this issue Feb 3, 2023 · 0 comments
Open

installer assumes layout in erb #127

rubydesign opened this issue Feb 3, 2023 · 0 comments

Comments

@rubydesign
Copy link
Contributor

./bin/rails g opal:install
raises

No such file or directory @ rb_sysopen - app/views/layouts/application.html.erb 

if the layout is not erb.

Since it mentions the haml filter below, i thought i'll mention this. As a long time haml users i have not used erb for ages.
Can give this a shot if you are too busy and accepting pr

PS: I'm just trying opal out again after a long time and wanted to see the haml integration.
Haml btw has changed filter handling and the code is not compatible with haml 6 , maybe update the gemspec haml < 6.0
I just did the upgrade for ruby2js, so maybe can give that a show too, if my tryouts go well.

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

1 participant