Skip to content

Commit 27e4d73

Browse files
committed
Simplify gemspec load path setup using require_relative.
1 parent cc86d77 commit 27e4d73

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

docdata-order.gemspec

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
# frozen_string_literal: true
22

3-
lib = File.expand_path('lib', __dir__)
4-
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
5-
require 'docdata/order/version'
3+
require_relative 'lib/docdata/order/version'
64

75
Gem::Specification.new do |spec|
86
spec.name = 'docdata-order'

0 commit comments

Comments
 (0)