Skip to content

Commit 1179683

Browse files
committed
build: fix require and autoload by adding /lib to $LOAD_PATH
1 parent 370e8df commit 1179683

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

board-linuxfr.gemspec

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
# encoding: utf-8
2+
lib = File.expand_path('../lib', __FILE__)
3+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
24
require './lib/board-linuxfr'
35

46
Gem::Specification.new do |s|

0 commit comments

Comments
 (0)