[DRE-commits] [nanoc] 02/05: refresh no_bundler_no_loadpath_modif.patch
Cédric Boutillier
boutil at moszumanska.debian.org
Mon Jun 9 22:11:07 UTC 2014
This is an automated email from the git hooks/post-receive script.
boutil pushed a commit to branch master
in repository nanoc.
commit 6a5f9cd65a051deacd3f9c6b7617de0decfae417
Author: Cédric Boutillier <boutil at debian.org>
Date: Mon Jun 9 22:45:02 2014 +0200
refresh no_bundler_no_loadpath_modif.patch
---
debian/patches/no_bundler_no_loadpath_modif.patch | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/debian/patches/no_bundler_no_loadpath_modif.patch b/debian/patches/no_bundler_no_loadpath_modif.patch
index 19cee16..2df69d5 100644
--- a/debian/patches/no_bundler_no_loadpath_modif.patch
+++ b/debian/patches/no_bundler_no_loadpath_modif.patch
@@ -2,17 +2,18 @@ Description: do not use bundler or mess with the load path
Origin: vendor
Author: Cédric Boutillier <boutil at debian.org>
Forwarded: not-needed
-Last-Update: 2014-02-10
+Last-Update: 2014-06-09
--- a/bin/nanoc
+++ b/bin/nanoc
-@@ -1,16 +1,6 @@
+@@ -1,17 +1,6 @@
#!/usr/bin/env ruby
# encoding: utf-8
-# Try loading bundler if it's possible
-begin
- require 'bundler/setup'
+- Bundler.require(:default)
-rescue LoadError
- # no problem
-end
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/nanoc.git
More information about the Pkg-ruby-extras-commits
mailing list