Files
nixpkgs/pkgs/development/interpreters/ruby
Allan Espinosa 52b61dce47 buildRubyGem: use Gem.use_paths to load gems
After ruby initializes, rubygems no longer reads the GEM_PATH. Before,
we have the following scenario:

    Gem.path # => ["a"]
    ENV['GEM_PATH'] = ["b"]
    Gem.path # => ["a"] # Still returns the same

Gem.use_paths is the documented way to create isolated environments as
documented in [1].

[1] http://www.rubydoc.info/github/rubygems/rubygems/Gem.use_paths
2016-03-16 17:28:02 -05:00
..
2016-03-13 13:59:38 +01:00
2015-12-29 09:30:21 -05:00
2011-01-21 08:24:52 +00:00
2016-03-02 15:25:35 +00:00
2016-01-27 09:28:59 +01:00
2015-12-23 22:08:33 +00:00