File: remove-rubygems-calls

package info (click to toggle)
ruby-webrobots 0.1.2-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 312 kB
  • sloc: ruby: 1,441; makefile: 3
file content (31 lines) | stat: -rw-r--r-- 839 bytes parent folder | download | duplicates (3)
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
27
28
29
30
31
Author: Gunnar Wolf <gwolf@debian.org>
Forwarded: not-needed
Last-updated: 2012-01-18
Description: Remove Rubygems calls
 Rubygems and Bundler are forbidden by Debian policy to be used within
 packaged Ruby modules

--- a/test/helper.rb
+++ b/test/helper.rb
@@ -1,12 +1,12 @@
-require 'rubygems'
-require 'bundler'
-begin
-  Bundler.setup(:default, :development)
-rescue Bundler::BundlerError => e
-  $stderr.puts e.message
-  $stderr.puts "Run `bundle install` to install missing gems"
-  exit e.status_code
-end
+# require 'rubygems'
+# require 'bundler'
+# begin
+#   Bundler.setup(:default, :development)
+# rescue Bundler::BundlerError => e
+#   $stderr.puts e.message
+#   $stderr.puts "Run `bundle install` to install missing gems"
+#   exit e.status_code
+# end
 require 'test/unit'
 require 'shoulda'
 require 'webmock/test_unit'