summarylogtreecommitdiffstats
path: root/enable_local_build.patch
blob: ae48ebcb53fa6e7e1c25115cfd5b1c92980c42e3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
diff -aur vale-0.7.0-old/Makefile vale-0.7.0-new/Makefile
--- vale-0.7.0-old/Makefile	2017-05-28 22:56:00.000000000 +0200
+++ vale-0.7.0-new/Makefile	2017-05-30 23:00:52.459912244 +0200
@@ -5,6 +5,7 @@
 CURR_SHA=$(shell git rev-parse --verify HEAD)
 
 LDFLAGS=-ldflags "-s -w -X main.version=$(LAST_TAG)"
+RUBY_CUSTOM_PATH=/home/${USER}/.gem/ruby/$(shell ruby -e 'puts RUBY_VERSION')/bin
 
 .PHONY: clean test lint ci cross install bump rules setup bench compare release
 
@@ -66,7 +67,9 @@
 	go get -u github.com/alecthomas/gometalinter
 	go get -u github.com/jteeuwen/go-bindata/...
 	gometalinter --install
-	bundle install
+	gem install bundle
+	bundle install --path ${RUBY_CUSTOM_PATH}
+	gem install specific_install
 	gem specific_install -l https://github.com/jdkato/aruba.git -b d-win-fix
 
 rules: