Skip to content

Instantly share code, notes, and snippets.

@jdelStrother
Created March 22, 2020 14:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save jdelStrother/8f344274f18762d8e463d3a122a356be to your computer and use it in GitHub Desktop.
Save jdelStrother/8f344274f18762d8e463d3a122a356be to your computer and use it in GitHub Desktop.
with (import <nixpkgs> {});
bundlerEnv {
name = "your-package";
inherit ruby;
gemdir = ./.;
gemConfig = pkgs.defaultGemConfig // {
mini_racer = attrs: {
dontBuild = false;
buildFlags = "--with-v8-dir=${v8}";
};
};
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment