Skip to content

Commit 35aa49b

Browse files
committed
Update gemspec
This test fails https://github.com/ruby/ruby/runs/6216873955?check_suite_focus=true The sync tool changes the path structure of the gem so the version file is no longer in the same relative location.
1 parent adac11b commit 35aa49b

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

lib/dead_end/dead_end.gemspec

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
# frozen_string_literal: true
22

3-
require_relative "lib/dead_end/version"
3+
begin
4+
require_relative "lib/dead_end/version"
5+
rescue LoadError # Fallback to load version file in ruby core repository
6+
require_relative "version"
7+
end
48

59
Gem::Specification.new do |spec|
610
spec.name = "dead_end"

0 commit comments

Comments
 (0)