Closed joshmfrankel closed 2 years ago
dry-system 0.23 had a lot of big changes. I'd recommend you pin to 0.22 within your app for now, it thank you for raising this issue here for us to fix.
@timriley Thank you for the speedy and efficient response. That solved it for me 💯. We've at least got a workaround now
gem "dry-rails", "~> 0.3"
gem "dry-system", "<= 0.22"
I'm gonna fix it and push a new release tomorrowish
@solnic i promise to drop breaking dry-rails soon ;)
@timriley haha yeah, one day we'll have cross-repo automated test suites, one day
This is a bit more involved, I started upgrading the whole thing in #52
OK I released 0.5.0
Thank you @solnic! 🙏🏼
Describe the bug
Running Rails tests or server produces the following error
fetch': key not found: :path (KeyError)
.I'm using
dry-rails
but the issue seems to stem fromlib/dry/system.rb:23
(dry-system)Backtrace
To Reproduce
I'm using a super basic docker + rails repo and am able to recreate issue once I add
gem 'dry-rails'
to the Gemfile. Rails server and testing stops working. See Repo here: https://github.com/joshmfrankel/rails-7-dockerExpected behavior
Expect tests and server to execute and dry-system to properly build
My environment