I was trying to use the haml:erb2haml task inside a Rails Application Template and the task was not recognizing or honoring my ENV vars set on the CLI.
This PR changes the ENV checks a little bit to make it compatible with executing inside a Rails App Template.
I also added a new ENV var for HAML_RAILS_OVERWRITE_HAML to control the other user prompt of asking wether to overwrite existing haml files.
I'm using it like this from inside a rails app template
I was trying to use the
haml:erb2haml
task inside a Rails Application Template and the task was not recognizing or honoring my ENV vars set on the CLI.This PR changes the ENV checks a little bit to make it compatible with executing inside a Rails App Template.
I also added a new ENV var for
HAML_RAILS_OVERWRITE_HAML
to control the other user prompt of asking wether to overwrite existing haml files.I'm using it like this from inside a rails app template