Skip to content

Commit ac1d25e

Browse files
committed
never that easy - use approach from bundler
1 parent f281d36 commit ac1d25e

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

pusher.gemspec

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
# -*- encoding: utf-8 -*-
22

3-
require_relative 'lib/pusher/version'
3+
# Copied from https://github.com/bundler/bundler/blob/524add155d6b90c679db21b03f0bd9f877f21ab0/bundler.gemspec#L3-L5
4+
# but made less cryptic
5+
$LOAD_PATH.unshift(File.expand_path('../lib/', __FILE__))
6+
require "pusher/version"
47

58
Gem::Specification.new do |s|
69
s.name = "pusher"

0 commit comments

Comments
 (0)