When v0.10.0 was released, my GitHub Actions workflow started failing. Previous builds were against v0.9.7 with the same configuration.
I'm able to reproduce the issue locally for herb-0.10.0-arm64-darwin as well:
% be rspec spec/features
An error occurred while loading ./spec/features/files/file_generation_spec.rb.
Failure/Error: require 'herb'
Errno::ENOENT:
No such file or directory @ rb_sysopen - /Users/robertsmith/.rbenv/versions/4.0.3/lib/ruby/gems/4.0.0/gems/herb-0.10.0-arm64-darwin/config/options.yml
# ./lib/cuprum/cli/commands/file/render_erb.rb:4:in '<top (required)>'
# ./lib/cuprum/cli/commands/file/new_command.rb:5:in '<top (required)>'
# ./spec/features/files/file_generation_spec.rb:5:in '<top (required)>'
Pinning the version to ~> 0.9.7 resolves the issue.
Happy to provide the GitHub actions log as well, but it's noisy (multiple entry points each with the same missing config/options.yml file, plus a bunch of duplicate constants from retrying the failed require).
Doing a little digging, it looks like it may be related to the changes to lib/herb/configuration.rb, specifically adding and loading the OPTIONS_PATH. I see that config/options.yml exists in the repository, but I don't see it listed in the gemspec spec.files manifest.
When
v0.10.0was released, my GitHub Actions workflow started failing. Previous builds were againstv0.9.7with the same configuration.I'm able to reproduce the issue locally for
herb-0.10.0-arm64-darwinas well:Pinning the version to
~> 0.9.7resolves the issue.Happy to provide the GitHub actions log as well, but it's noisy (multiple entry points each with the same missing
config/options.ymlfile, plus a bunch of duplicate constants from retrying the failedrequire).Doing a little digging, it looks like it may be related to the changes to
lib/herb/configuration.rb, specifically adding and loading theOPTIONS_PATH. I see thatconfig/options.ymlexists in the repository, but I don't see it listed in thegemspecspec.filesmanifest.