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:
parent
41534ce327
commit
129657ab6a
Notes:
git
2019-08-31 04:40:14 +09:00
1 changed files with 2 additions and 4 deletions
|
@ -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"
|
||||
|
||||
|
|
Loading…
Reference in a new issue