bundler: bin/bundler expects ruby in PATH

This commit is contained in:
Pascal Wittmann 2015-05-27 17:11:33 +02:00
parent 9e0763dd8a
commit 6c2fc83a85

View file

@ -1,4 +1,4 @@
{ buildRubyGem, coreutils }:
{ buildRubyGem, makeWrapper, ruby, coreutils }:
buildRubyGem {
name = "bundler-1.9.2";
@ -10,5 +10,8 @@ buildRubyGem {
substituteInPlace $f \
--replace "/usr/bin/env" "${coreutils}/bin/env"
done
wrapProgram $out/bin/bundler \
--prefix PATH ":" ${ruby}/bin
'';
}