[packages/ruby-rails] - use system bundles and disable bundler hackery
baggins
baggins at pld-linux.org
Thu Sep 4 01:21:34 CEST 2014
commit 23fd74833bda272ae5e14e9a8c7ded7b79a393f4
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Thu Sep 4 01:20:51 2014 +0200
- use system bundles and disable bundler hackery
system-bundle.patch | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
---
diff --git a/system-bundle.patch b/system-bundle.patch
new file mode 100644
index 0000000..099d100
--- /dev/null
+++ b/system-bundle.patch
@@ -0,0 +1,20 @@
+--- rails-3.2.19/lib/rails/generators/app_base.rb~ 2014-08-31 21:37:50.000000000 +0200
++++ rails-3.2.19/lib/rails/generators/app_base.rb 2014-09-04 01:19:44.733043577 +0200
+@@ -28,7 +28,7 @@
+ 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,
+@@ -251,7 +251,7 @@
+ # end-user gets the bundler commands called anyway, so no big deal.
+ #
+ # Thanks to James Tucker for the Gem tricks involved in this call.
+- print `"#{Gem.ruby}" -rubygems "#{Gem.bin_path('bundler', 'bundle')}" #{command}`
++ print `/usr/bin/bundle #{command}`
+ end
+
+ def run_bundle
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/ruby-rails.git/commitdiff/23fd74833bda272ae5e14e9a8c7ded7b79a393f4
More information about the pld-cvs-commit
mailing list