Sha256: c894edf69f9d81de2ba260c0e6a1389291d767c295a6f775102e7581ce77b104

Contents?: true

Size: 492 Bytes

Versions: 4

Compression:

Stored size: 492 Bytes

Contents

#!/usr/bin/env ruby

platforms = ARGV.shift
old_platforms = Gem.platforms
Gem.platforms = platforms.split(" ").map { |p| Gem::Platform.new(p) }
puts "bundle-platform set Gem.platforms to #{Gem.platforms.map { |p| p.to_s }} (was #{old_platforms.map { |p| p.to_s } })"

# 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")

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
chef-dk-0.14.25 tasks/bin/bundle-platform
chef-12.10.24 tasks/bin/bundle-platform
chef-12.10.24-universal-mingw32 tasks/bin/bundle-platform
chef-dk-0.13.21 tasks/bin/bundle-platform