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

ERB not converted to HAML #240

Open
FranklinYu opened this issue Dec 21, 2015 · 2 comments
Open

ERB not converted to HAML #240

FranklinYu opened this issue Dec 21, 2015 · 2 comments

Comments

@FranklinYu
Copy link

FranklinYu commented Dec 21, 2015

I chose HAML as a template engine, and got an error

Error: No such file or directory @ rb_sysopen - $(APP_ROOT)/app/views/layouts/application.html.haml

when the composer is doing

gsub    app/views/layouts/application.html.haml

Then I go to app/views/ and found only ERB instead of HAML:

$ tree app/views
app/views
├── layouts
│   └── application.html.erb
└── visitors
    └── index.html.erb

My options are dumped here and full log here.

P.S. I wish there is an option for the composer to dump all my options.

@FranklinYu
Copy link
Author

Knock knock?

@DanielKehoe
Copy link
Member

I identify the "Custom application" choice as "experimental" because it is difficult for me to test and support every combination of options, especially as gems and Rails change so often.

Try using Ruby 2.4 and Rails 5.0 and do NOT disable Rails Turbolinks. I think you will also need to skip pry and rubocop at this time.

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

2 participants