Skip to content

Commit

Permalink
Use require_relative for version in gemspec
Browse files Browse the repository at this point in the history
  • Loading branch information
mjankowski committed Nov 7, 2024
1 parent e8a3240 commit 89d326a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions standard.gemspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
lib = File.expand_path("../lib", __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require "standard/version"
require_relative "lib/standard/version"

Gem::Specification.new do |spec|
spec.name = "standard"
Expand Down

0 comments on commit 89d326a

Please sign in to comment.