summaryrefslogtreecommitdiff
path: root/spec/ruby/core/array/drop_while_spec.rb
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2020-06-07 15:54:38 +0200
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2020-06-18 19:14:15 +0900
commit974c40c842b34bc05724e9432e443301a4b2649f (patch)
treec9eadded6fe55bf8597d58b718b7539884bb8091 /spec/ruby/core/array/drop_while_spec.rb
parent5454415750fe3e7dd3b4a5e55f128c4393657eaf (diff)
[rubygems/rubygems] Fix some sudo specs to do the right thing on bundler 3
On bundler 3, where the default install path is `.bundle`, these specs were trying to change permissions of the `.bundle/ruby/<ruby_abi_version>` folder, which didn't exist yet,so the permission changing command was failing and the spec was not testing the right thing. Change the specs so that the permissions are correctly changed, by first configuring the local path to be `.bundle` (which creates the `.bundle` folder), and then changing permissions of the `.bundle` folder explicitly, which exists already. https://github.com/rubygems/rubygems/commit/2833162fb0
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/3212
Diffstat (limited to 'spec/ruby/core/array/drop_while_spec.rb')
0 files changed, 0 insertions, 0 deletions