namespaced_engine
namespaced_engine copied to clipboard
Capitalized acronyms in namespace not handled
Running this:
rails g modular:engine engines/testtfc --namespace=TestTFC
Leads to this error:
[!] There was an error parsing `Gemfile`: There was a NameError while loading test_tfc_testtfc.gemspec:
uninitialized constant TestTfc from
/Users/path/apps/sample_app/engines/testtfc/test_tfc_testtfc.gemspec:9:in `block in <main>'
. Bundler cannot continue.
# from /Users/path/apps/sample_app/engines/testtfc/Gemfile:6
# -------------------------------------------
# # development dependencies will be added by default to the :development group.
> gemspec
#
# -------------------------------------------
Whereas
rails g modular:engine engines/testtfc --namespace=TestTfc
works fine.
Not a big issue, just filing to let you know.