Sha256: 3630a4b6c2c620b0c9eeaa8ec6ebaef79a95bcf30560ce1fe6671ff3f3a555b9
Contents?: true
Size: 629 Bytes
Versions: 16
Compression:
Stored size: 629 Bytes
Contents
#!/usr/bin/env ruby 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
16 entries across 16 versions & 2 rubygems