File: remove-bundler

package info (click to toggle)
ruby-subexec 0.2.3%2Bgh-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 116 kB
  • sloc: ruby: 156; sh: 3; makefile: 2
file content (32 lines) | stat: -rw-r--r-- 810 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
32
Description: removing bundler as require 
 Removing require bundler from spec-helper.rb, this is getting handled by
 debian/control file. 
Author: Markus Tornow <tornow@riseup.net> 
Forwarded: not-needed 
Last-Update: 2013-01-20 
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -1,21 +1,6 @@
-begin
-  require 'bundler'
-  Bundler.setup(:default, :development)
-rescue LoadError => e
-  # Fall back on doing an unlocked resolve at runtime.
-  $stderr.puts e.message
-  $stderr.puts "Try running `bundle install`"
-  exit!
-end
-
 $:.unshift(File.dirname(__FILE__))
 $:.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
 
-begin
-  require 'pry'
-  require 'pry-nav'
-rescue LoadError
-end
 
 require 'subexec'
 require 'rspec'