Closed dlupu closed 4 years ago
I think the problem is caused by this line
As a workaround, I changed my custom application template to and that seems to fix the problem
# custom_template.rb
after_bundle do
run('bundle add rack-mini-profiler --group "development,test"')
end
@OsamaSayegh can you have a look at this?
Thank you @dlupu for reporting this, I've just pushed a fix here: https://github.com/MiniProfiler/rack-mini-profiler/commit/7453c58cc0fd1aa5eade8de9ad3c1b774f2a010b.
I'll close this issue once we've pushed a new release with the fix.
2.0.4 is out with the fix :confetti_ball:
Hello @OsamaSayegh Just wanted to confirm that version 2.0.4 does indeed fix the problem. Thank you very much for your rapid fix.
Hello,
I have a custom application template that I use as starting base on all my projects. I realized this morning that it's no longer working as I expected and managed to determine the problem is in the current last release (2.0.3).
Steps to reproduce
Create a custom application template
Create a new rails app using the following command
rails new your_new_app_name --database postgresql --skip-coffee --skip-test --skip-system-test --webpacker -m custom_template.rb
Note: only the
-m custom_template.rb
is important in order to reproduce the issueWhen the creation script runs the comment
rails webpack:install
we get the errorDid someone else run into this issue?