File: 0004-Do-not-overload-loadpath.patch

package info (click to toggle)
ruby-http-parser.rb 0.6.0-4%2Bdeb10u1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 376 kB
  • sloc: java: 431; ansic: 412; ruby: 355; makefile: 20
file content (13 lines) | stat: -rw-r--r-- 336 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
Description: do not modify $LOAD_PATH to find C extension
 Ruby knwos where to find it
Author: Cédric Boutillier <boutil@debian.org>
Forwarded: not-needed
Last-Update: 2013-06-17

--- a/lib/http_parser.rb
+++ b/lib/http_parser.rb
@@ -1,4 +1,3 @@
-$:.unshift File.expand_path('../', __FILE__)
 require 'ruby_http_parser'
 
 Http = HTTP