SecBSD's official ports repository

This commit is contained in:
purplerain 2023-08-16 22:26:55 +00:00
commit 2c0afcbbf3
Signed by: purplerain
GPG key ID: F42C07F07E2E35B7
64331 changed files with 5339189 additions and 0 deletions

View file

@ -0,0 +1,24 @@
Add user-install option so that you don't need to have root access
to use isolate with gems with C extensions.
--- lib/isolate/entry.rb.orig Mon Nov 14 19:51:12 2011
+++ lib/isolate/entry.rb Mon Nov 14 19:52:10 2011
@@ -67,9 +67,7 @@ module Isolate
def activate
fire :activating, :activated do
- spec = self.specification
- raise Gem::LoadError, "Couldn't resolve: #{self}" unless spec
- spec.activate
+ Gem::Specification.find_by_name(name, requirement).activate
end
end
@@ -86,6 +84,7 @@ module Isolate
Gem::DependencyInstaller.new(:development => false,
:generate_rdoc => false,
:generate_ri => false,
+ :user_install => true,
:install_dir => @sandbox.path)
Gem::Command.build_args = Array(options[:args]) if options[:args]