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'
|