We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
map
1 parent 8989995 commit 6a97569Copy full SHA for 6a97569
1 file changed
spec/bundled_gems_spec.rb
@@ -31,7 +31,7 @@ def self.ruby=(ruby)
31
FileUtils.cp_r Spec::Path.pristine_system_gem_path, Spec::Path.system_gem_path
32
FileUtils.mkdir_p Spec::Path.base_system_gem_path.join("gems")
33
%w[sinatra rack tilt rack-protection rack-session rack-test mustermann base64 logger compact_index].each do |gem|
34
- path = Dir[File.expand_path("../.bundle/gems/#{gem}-*", __dir__)].map(&:to_s).first
+ path, = Dir[File.expand_path("../.bundle/gems/#{gem}-*", __dir__)]
35
FileUtils.cp_r path, Spec::Path.base_system_gem_path.join("gems")
36
end
37
0 commit comments