]> git.pld-linux.org Git - packages/ruby-rails.git/commitdiff
- use system bundles and disable bundler hackery
authorJan Rękorajski <baggins@pld-linux.org>
Wed, 3 Sep 2014 23:20:51 +0000 (01:20 +0200)
committerJan Rękorajski <baggins@pld-linux.org>
Wed, 3 Sep 2014 23:20:51 +0000 (01:20 +0200)
system-bundle.patch [new file with mode: 0644]

diff --git a/system-bundle.patch b/system-bundle.patch
new file mode 100644 (file)
index 0000000..099d100
--- /dev/null
@@ -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
This page took 0.171637 seconds and 4 git commands to generate.