about summary refs log tree commit diff
path: root/pkgs/development/ruby-modules/gem
Commit message (Collapse)AuthorAge
* Current round of tests pass, but filter function is failing to include when ↵Judson2017-05-10
| | | | platform match in use.
* Current round of tests pass, but filter function is failing to include when ↵Judson2017-05-09
| | | | groups match in use.
* ruby: fixes rubygems user installszimbatm2016-10-02
| | | | | | | | | | * Manage patches in git * Fixes the hook invocation to be more safe. Thanks @Mic92 * Install gems as user by default * Install gem binaries with the /usr/bin/env shebang * Fixes a bug where the passthru.libPath and passthru.gemPath would point to the wrong directory * Overhaul ruby version heuristics
* buildRubyGem: fixes gemspec UTF-8 loading issuezimbatm2016-09-06
| | | | | | | | | If a gemspec has UTF-8 characters in it, ruby will fail loading it with invalid multibyte char (US-ASCII) This change forces the encoding to be correct, we assume everyone now uses UTF-8.
* buildRubyGem: handle build-time ruby dependencieszimbatm2016-08-29
| | | | | | | | | | | | | | 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: https://github.com/rubygems/rubygems/blob/d8293c472966cb1de08784dfdd90560e56ceed84/lib/rubygems/commands/install_command.rb#L151 Blame: https://github.com/rubygems/rubygems/commit/9ea600c9c2b77d1459526fe1e2bcdf2ac778c24a This is a hack that sets the :install_dir to where we would install anyways (the GEM_HOME is the default installation destination).
* buildRubyGem: don't set the GEM_HOMEzimbatm2016-08-23
| | | | | | | | | | | bundler for example needs to have the GEM_HOME being passed trough to function properly. For gems that are loading content dynamically, or can use plugins, use buildRubyGem. For executables that are wrapped in their own sealed thing use bundlerEnv.
* buildRubyGem: fix buildFlags default attributezimbatm2016-07-21
| | | | | | | lib.escapeShellArgs doesn't work well when a null value is provided. [] is also the correct value since it's really just an empty list of arguments that we have.
* Escape all shell arguments uniformlyzimbatm2016-06-12
|
* move all ruby modules to development/ruby-moduleszimbatm2016-03-19