diff options
author | Hans de Graaff <graaff@gentoo.org> | 2020-06-26 10:46:05 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2020-06-26 10:46:05 +0200 |
commit | 7503c46f9a5b3385325e7b5b04a180031ac617d9 (patch) | |
tree | d0ad79289a0401788819a6bd3aac398a547797cd /dev-ruby | |
parent | dev-ruby/childprocess: fix use of ruby in tests (diff) | |
download | gentoo-7503c46f9a5b3385325e7b5b04a180031ac617d9.tar.gz gentoo-7503c46f9a5b3385325e7b5b04a180031ac617d9.tar.bz2 gentoo-7503c46f9a5b3385325e7b5b04a180031ac617d9.zip |
dev-ruby/rspec-support: fix use of ruby in tests
Package-Manager: Portage-2.3.99, Repoman-2.3.23
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby')
-rw-r--r-- | dev-ruby/rspec-support/rspec-support-3.9.2.ebuild | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/dev-ruby/rspec-support/rspec-support-3.9.2.ebuild b/dev-ruby/rspec-support/rspec-support-3.9.2.ebuild index b0f14e38d54d..36a174b55d35 100644 --- a/dev-ruby/rspec-support/rspec-support-3.9.2.ebuild +++ b/dev-ruby/rspec-support/rspec-support-3.9.2.ebuild @@ -40,3 +40,8 @@ all_ruby_prepare() { # should be fixed upstream in next version #sed -i -e '/returns a hash containing nodes for each line number/askip "ruby26"' spec/rspec/support/source_spec.rb || die } + +each_ruby_prepare() { + # Use the ruby version being tested + sed -i -e '/shell_out/ s:ruby:'${RUBY}':' spec/rspec/support/spec/shell_out_spec.rb || die +} |