mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: ruby-braintree: Disable Bundler for testing.
* gnu/packages/ruby-xyz.scm (ruby-braintree)[arguments]: Replace relax-requirements phase with disable-bundler. If a Gemfile is present, RSpec uses Bundler to resolve dependencies, which can lead to troubles. Removing the Gemfile allows RSpec to use the gems provided by Guix. Change-Id: I0aaeec9fa071b60bc2a8acd7382070779eece1f1 Signed-off-by: Andreas Enge <andreas@enge.fr>
This commit is contained in:
parent
6370b9201d
commit
6fd0420713
1 changed files with 2 additions and 12 deletions
|
@ -16045,19 +16045,9 @@ protocol.")
|
||||||
(lambda _
|
(lambda _
|
||||||
(substitute* "Rakefile"
|
(substitute* "Rakefile"
|
||||||
(("sh \"rubocop\"") ""))))
|
(("sh \"rubocop\"") ""))))
|
||||||
(add-after 'unpack 'relax-requirements
|
(add-after 'unpack 'disable-bundler
|
||||||
(lambda _
|
(lambda _
|
||||||
(substitute* "Gemfile"
|
(delete-file "Gemfile"))))))
|
||||||
(("gem \"pry\".*") "gem 'pry'\n")
|
|
||||||
(("gem \"rake\".*") "gem 'rake'\n")
|
|
||||||
(("gem \"libxml-ruby\", \"3.2.0\"")
|
|
||||||
"gem \"libxml-ruby\", \"~> 3.0.0\"")
|
|
||||||
(("gem \"rspec\", \"3.9.0\"")
|
|
||||||
"gem \"rspec\", \">= 3.9.0\"")
|
|
||||||
(("gem \"webrick\", \"~>1.7.0\"")
|
|
||||||
"gem \"webrick\", \">=1.7.0\"")
|
|
||||||
((".*gem \"rubocop\".*") "")
|
|
||||||
((".*gem \"rspec_junit_formatter\".*") "")))))))
|
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list ruby-libxml
|
(list ruby-libxml
|
||||||
ruby-pry
|
ruby-pry
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue