nixpkgs/pkgs/development/ruby-modules
zimbatm a7cf555e2a buildRubyGem: handle build-time ruby dependencies
For some reason `gem install` unsets the GEM_PATH environment variable
internally unless the install dir is provided. This in turn means that
if it invokes extconf.rb and extconf.rb depends on a gem available on
the GEM_PATH (like pkg-config for nokogiri) then it's not available in
that context.

Proof: d8293c4729/lib/rubygems/commands/install_command.rb (L151)
Blame: 9ea600c9c2

This is a hack that sets the :install_dir to where we would install
anyways (the GEM_HOME is the default installation destination).
2016-08-29 22:17:59 +01:00
..
bundix nix: Add a "dev" output 2016-04-18 21:13:18 +02:00
bundler bundler: fix usage on nested call 2016-08-29 17:03:12 +01:00
bundler-env Escape all shell arguments uniformly 2016-06-12 18:11:37 +01:00
gem buildRubyGem: handle build-time ruby dependencies 2016-08-29 22:17:59 +01:00
gem-config bundler: fix usage on nested call 2016-08-29 17:03:12 +01:00