SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
24
devel/ruby-isolate/patches/patch-lib_isolate_entry_rb
Normal file
24
devel/ruby-isolate/patches/patch-lib_isolate_entry_rb
Normal 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]
|
Loading…
Add table
Add a link
Reference in a new issue