[DRE-commits] [SCM] ruby-railties-3.2.git branch, master, updated. debian/3.2.3-1-13-g254176a

Antonio Terceiro terceiro at debian.org
Mon Jun 25 00:07:09 UTC 2012


The following commit has been merged in the master branch:
commit a0b0f8fee9d3ae3d75da2ab7683ab7734c07944d
Author: Antonio Terceiro <terceiro at debian.org>
Date:   Thu Jun 14 14:39:27 2012 -0300

    Add patch to disable default content of Gemfiles

diff --git a/debian/patches/disable-default-gemfile-content.patch b/debian/patches/disable-default-gemfile-content.patch
new file mode 100644
index 0000000..8e421aa
--- /dev/null
+++ b/debian/patches/disable-default-gemfile-content.patch
@@ -0,0 +1,23 @@
+Description: Disable default contents of the Gemfile
+ This patch disables the contents of the Gemfile as provided by Rails, so that
+ new applications created under Debian are not *forced* to require packages
+ installed with Rubygems.
+Author: Antonio Terceiro <terceiro at debian.org>
+
+---
+
+--- ruby-railties-3.2-3.2.3.orig/lib/rails/generators/rails/app/templates/Gemfile
++++ ruby-railties-3.2-3.2.3/lib/rails/generators/rails/app/templates/Gemfile
+@@ -1,3 +1,12 @@
++# Rails for Debian - note
++#
++# The content of this Gemfile is commented out so that you do not *have* to
++# have packages installed without APT to run this application. If you want to
++# use the original Gemfile created by Rails, delete everything *before* the
++# __END__ mark below (including this note, if you wish).
++
++__END__
++
+ source 'https://rubygems.org'
+ 
+ <%= rails_gemfile_entry -%>
diff --git a/debian/patches/series b/debian/patches/series
index c06c7e5..f8d3410 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 syntaxhighlighter-source.patch
 remove-rubygems.patch
+disable-default-gemfile-content.patch

-- 
ruby-railties-3.2.git



More information about the Pkg-ruby-extras-commits mailing list