Skip to content

Commit 3ee2956

Browse files
committed
Fix expanding LOAD_PATH in gemspec
Otherwise Grape::VERSION might refer to another, e.g., system wide installed gem version
1 parent c951628 commit 3ee2956

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
#### Fixes
88

99
* [#1759](https://github.com/ruby-grape/grape/pull/1759): Update appraisal for rails_edge - [@zvkemp](https://github.com/zvkemp).
10+
* [#1758](https://github.com/ruby-grape/grape/pull/1758): Fix expanding load_path in gemspec - [@2maz](https://github.com/2maz).
1011
* Your contribution here.
1112

1213
### 1.0.3 (4/23/2018)

grape.gemspec

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
$LOAD_PATH.push File.expand_path('../lib', __FILE__)
1+
$LOAD_PATH.unshift File.expand_path('../lib', __FILE__)
22
require 'grape/version'
33

44
Gem::Specification.new do |s|

0 commit comments

Comments
 (0)