File: remove-bundler.patch

package info (click to toggle)
ruby-escape-utils 1.0.1-3
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 348 kB
  • ctags: 248
  • sloc: ansic: 1,718; ruby: 924; makefile: 2
file content (26 lines) | stat: -rw-r--r-- 667 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
Description: do not use bundler in test/helper
Origin: vendor
Author: Pirate Praveen <praveen@debian.org>
Last-Update: 2014-04-10
Forwarded: no

--- a/test/helper.rb
+++ b/test/helper.rb
@@ -1,8 +1,8 @@
 # Basic test environment.
 
 # blah fuck this
-require 'rubygems' if !defined?(Gem)
-require 'bundler/setup'
+#require 'rubygems' if !defined?(Gem)
+#require 'bundler/setup'
 
 require 'escape_utils'
 
@@ -11,4 +11,4 @@
 
 # put lib and test dirs directly on load path
 $LOAD_PATH.unshift File.expand_path('../../lib', __FILE__)
-$LOAD_PATH.unshift File.expand_path('..', __FILE__)
\ No newline at end of file
+$LOAD_PATH.unshift File.expand_path('..', __FILE__)