summaryrefslogtreecommitdiff
path: root/bin/rake
blob: 0c675ed56a1f2e69d96afe908e04858c09e2d4fb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/env ruby

require "rubygems"

bundler_spec = Gem::Specification.load(File.expand_path("../../bundler.gemspec", __FILE__))
bundler_spec.dependencies.each do |dep|
  begin
    gem dep.name, dep.requirement.to_s
  rescue Gem::LoadError => e
    $stderr.puts "#{e.message} (#{e.class})"
  end
end

load Gem.bin_path("rake", "rake")