Skip to content

Commit

Permalink
Fix gemspec
Browse files Browse the repository at this point in the history
It wasn't possible to bundle install the dependencies, as this command
tries to load the gemspec, the gemspec required the code, and the code
was trying to load the dependencies that were not yet available. This
fix is to just load the file that defines the version number from the
gemspec, not the whole code.
  • Loading branch information
nono committed Sep 15, 2020
1 parent acf8871 commit 172bc71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion board-linuxfr.gemspec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# encoding: utf-8
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require './lib/board-linuxfr'
require './lib/board-linuxfr/version'

Gem::Specification.new do |s|
s.name = "board-linuxfr"
Expand Down

0 comments on commit 172bc71

Please sign in to comment.