Skip to content
This repository has been archived by the owner on Apr 14, 2021. It is now read-only.

Commit

Permalink
Use require_relative in gemspec as well
Browse files Browse the repository at this point in the history
  • Loading branch information
deivid-rodriguez committed Apr 23, 2019
1 parent 27f9d74 commit 788f7f4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bundler.gemspec
@@ -1,10 +1,10 @@
# frozen_string_literal: true

begin
require File.expand_path("../lib/bundler/version", __FILE__)
require_relative "lib/bundler/version"
rescue LoadError
# for Ruby core repository
require File.expand_path("../version", __FILE__)
require_relative "version"
end

Gem::Specification.new do |s|
Expand Down

0 comments on commit 788f7f4

Please sign in to comment.