diff --git a/Makefile b/Makefile index 4a86f64..e26609e 100644 --- a/Makefile +++ b/Makefile @@ -20,6 +20,9 @@ all: bundle install $(BUNDLE_OPTS) --local --deployment grep -rl '/this/will/be/overwritten/or/wrapped/anyways/do/not/worry/ruby' vendor/bundle/ruby/gems/*/bin | xargs --no-run-if-empty sed -i -e '1 s|.*|#!/usr/bin/env ruby|' + # Change ruby interpreter, to use rh-ruby22 + grep -rl '#!/usr/bin/env ruby' vendor/bundle/ruby/gems/ | xargs --no-run-if-empty sed -i -e 's|.*|#!/opt/rh/rh-ruby22/root/usr/bin/ruby |' + dist: $(TARBALL) $(TARBALL): @@ -39,6 +42,7 @@ update: clean bundle update bundle install $(BUNDLE_OPTS) --path vendor/bundle + clean: $(RM) -r .bundle/ vendor/bundle/ $(TARBALL) -- libgit2 0.21.2