Sha256: ec85e96472fd9b649b44a1481d8736550a9b01228a5ce7ecfa37dd4611b6a8be
Contents?: true
Size: 662 Bytes
Versions: 12
Compression:
Stored size: 662 Bytes
Contents
#!/usr/bin/env ruby require_relative "bundler_patch" platforms = ARGV.shift platforms = platforms.split(" ").map { |p| Gem::Platform.new(p) } Gem::Platform.instance_eval { @local = platforms.last } old_platforms = Gem.platforms Gem.platforms = platforms puts "bundle-platform set Gem.platforms to #{Gem.platforms.map { |p| p.to_s }} (was #{old_platforms.map { |p| p.to_s } })" desired_version = ARGV.shift.delete("_") # The rest of this is a normal bundler binstub require "pathname" ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../../Gemfile", Pathname.new(__FILE__).realpath) require "rubygems" load Gem.bin_path("bundler", "bundle", desired_version)
Version data entries
12 entries across 12 versions & 1 rubygems