File: 0001-Remove-RubyGems-s-Dependency.patch

package info (click to toggle)
rake-compiler 0.8.1-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 324 kB
  • sloc: ruby: 1,497; makefile: 3
file content (27 lines) | stat: -rw-r--r-- 628 bytes parent folder | download | duplicates (2)
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
From: Debian Ruby Extras Maintainers
 <pkg-ruby-extras-maintainers@lists.alioth.debian.org>
Date: Tue, 8 May 2012 19:17:11 +0900
Subject: Remove RubyGems's Dependency

---
 bin/rake-compiler |    7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/bin/rake-compiler b/bin/rake-compiler
index 7a21fdd..16e661f 100644
--- a/bin/rake-compiler
+++ b/bin/rake-compiler
@@ -7,12 +7,7 @@
 # See LICENSE file for details
 #++
 
-begin
-  require 'rake'
-rescue LoadError
-  require 'rubygems'
-  require 'rake'
-end
+require 'rake'
 
 # Initialize 'rake-compiler' application
 Rake.application.init('rake-compiler')