mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 07:13:23 +01:00
bundler: bin/bundler expects ruby in PATH
This commit is contained in:
parent
9e0763dd8a
commit
6c2fc83a85
1 changed files with 4 additions and 1 deletions
|
@ -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
|
||||
'';
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue