1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

[bundler/bundler] Normalize style with other artifice files

https://github.com/bundler/bundler/commit/f11c9a2b3f
This commit is contained in:
David Rodríguez 2019-08-06 16:56:01 +02:00 committed by SHIBATA Hiroshi
parent 41534ce327
commit 129657ab6a
Notes: git 2019-08-31 04:40:14 +09:00

View file

@ -3,10 +3,8 @@
require File.expand_path("../../path.rb", __FILE__)
include Spec::Path
$LOAD_PATH.unshift Dir[base_system_gems.join("gems/artifice*/lib")].first.to_s
$LOAD_PATH.unshift(*Dir[base_system_gems.join("gems/rack-*/lib")])
$LOAD_PATH.unshift Dir[base_system_gems.join("gems/tilt*/lib")].first.to_s
$LOAD_PATH.unshift Dir[base_system_gems.join("gems/sinatra*/lib")].first.to_s
$LOAD_PATH.unshift(*Dir[Spec::Path.base_system_gems.join("gems/{artifice,rack,tilt,sinatra}-*/lib")].map(&:to_s))
require "artifice"
require "sinatra/base"