rails-composer
rails-composer copied to clipboard
ERB not converted to HAML
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.
Knock knock?
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.