[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:10 UTC 2012


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

    Skip bundle by default

diff --git a/debian/patches/series b/debian/patches/series
index f8d3410..c5ad73c 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
 syntaxhighlighter-source.patch
 remove-rubygems.patch
 disable-default-gemfile-content.patch
+skip-bundle-by-default.patch
diff --git a/debian/patches/skip-bundle-by-default.patch b/debian/patches/skip-bundle-by-default.patch
new file mode 100644
index 0000000..e6f1913
--- /dev/null
+++ b/debian/patches/skip-bundle-by-default.patch
@@ -0,0 +1,20 @@
+Description: Skip bundle by default
+ Do not run `bundle install` after creating a new app. This makes it possible
+ to create applications without necessarily having to install packages outside
+ of Debian itself.  .
+ .
+ If users wantr to use bundler, they can just edit the generated Gemfile and
+ rnu `bundle install` by themselves.
+Author: Antonio Terceiro <terceiro at debian.org>
+
+--- ruby-railties-3.2-3.2.3.orig/lib/rails/generators/app_base.rb
++++ ruby-railties-3.2-3.2.3/lib/rails/generators/app_base.rb
+@@ -28,7 +28,7 @@ module Rails
+         class_option :skip_gemfile,       :type => :boolean, :default => false,
+                                           :desc => "Don't create a Gemfile"
+ 
+-        class_option :skip_bundle,        :type => :boolean, :default => false,
++        class_option :skip_bundle,        :type => :boolean, :default => true,
+                                           :desc => "Don't run bundle install"
+ 
+         class_option :skip_git,           :type => :boolean, :aliases => "-G", :default => false,

-- 
ruby-railties-3.2.git



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