|
Revision 607, 0.7 kB
(checked in by mike, 2 years ago)
|
patch rubygems path
|
| Line | |
|---|
| 1 |
#! /bin/sh /usr/share/dpatch/dpatch-run |
|---|
| 2 |
## sipxconfig-agent.in.dpatch by <msl@calivia.com> |
|---|
| 3 |
## |
|---|
| 4 |
## All lines beginning with `## DP:' are a description of the patch. |
|---|
| 5 |
## DP: Patch rubygems search path |
|---|
| 6 |
|
|---|
| 7 |
@DPATCH@ |
|---|
| 8 |
|
|---|
| 9 |
--- ../agent/bin/sipxconfig-agent.in.orig 2007-05-09 09:47:32.000000000 +0200 |
|---|
| 10 |
+++ ../agent/bin/sipxconfig-agent.in 2007-05-09 09:49:01.000000000 +0200 |
|---|
| 11 |
@@ -3,7 +3,7 @@ |
|---|
| 12 |
# see http://docs.rubygems.org/shelf |
|---|
| 13 |
# RubyGemsUserGuide/Installing Ruby/Installing RubyGems in a User Directory |
|---|
| 14 |
# NOTE: Keep this at top of file, see XCF-1096 |
|---|
| 15 |
-ENV['GEM_PATH'] = '@GEM_LIB_DIR@:/usr/lib/ruby/gems/1.8' |
|---|
| 16 |
+ENV['GEM_PATH'] = '@GEM_LIB_DIR@:/usr/lib/ruby/gems/1.8:/var/lib/gems/1.8' |
|---|
| 17 |
|
|---|
| 18 |
require 'tempfile' |
|---|
| 19 |
require 'optparse' |
|---|