Skip to content

Bug: cannot load such file lib/herb/herb #951

@joelhawksley

Description

@joelhawksley

In https://github.com/marcoroth/herb/blob/a43c7e6f138cdaa759468f11427b98ecd5e131f6/lib/herb.rb, herb/herb is required when an unsupported Ruby version is used. However, there is no herb.rb inside the lib/herb folder:

herb/lib/herb.rb

Lines 32 to 37 in a43c7e6

begin
major, minor, _patch = RUBY_VERSION.split(".") #: [String, String, String]
require_relative "herb/#{major}.#{minor}/herb"
rescue LoadError
require_relative "herb/herb"
end

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions