This website requires JavaScript.
Explore
Help
Sign in
kotovalexarian-likes-github
/
ruby--ruby
Watch
1
Star
0
Fork
You've already forked ruby--ruby
0
mirror of
https://github.com/ruby/ruby.git
synced
2022-11-09 12:17:21 -05:00
Code
Releases
Activity
3391c51eff
ruby--ruby
/
lib
/
rubygems
/
tsort.rb
4 lines
66 B
Ruby
Raw
Normal View
History
Unescape
Escape
[rubygems/rubygems] Vendor tsort into rubygems So that it loads a consistent version of the library and `rubygems` is never affected by gem activation conflicts related to `tsort`. Getting CI green required updating one `bundler` spec, because `tsort` is no longer loaded by `bundle clean` until after `BUNDLE_PATH` has been changed, so to ensure it is found, it needs to be installed under `BUNDLE_PATH` as well (which will be different from the global system path on Bundler 3, meaning installing `tsort` to the global system path is not enough there). This spec workaround can be removed once we also vendor `tsort` inside `bundler`. https://github.com/rubygems/rubygems/commit/d326880999
2021-10-21 15:23:08 -04:00
# frozen_string_literal: true
RubyGems: Enable Style/StringLiterals cop Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com>
2022-07-17 04:08:51 -04:00
require_relative
"
tsort/lib/tsort
"
Copy permalink