-
-
Save anonymous/036089b4571b7d7ac52b56b10237a6c6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Pastebin hka8AhGd | |
require 'bundler' | |
module Bundler | |
class Definition | |
def specs | |
@specs ||= | |
begin | |
specs = resolve.materialize( | |
Bundler.settings[:cache_all_platforms] ? dependencies : requested_dependencies, | |
[] | |
) | |
unless specs["bundler"].any? | |
local = Bundler.settings[:frozen] ? rubygems_index : index | |
bundler = local.search(Gem::Dependency.new("bundler", VERSION)).last | |
specs["bundler"] = bundler if bundler | |
end | |
specs | |
end | |
end | |
end | |
end | |
Bundler.setup(:default) | |
require 'rack' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment