summaryrefslogtreecommitdiff
path: root/bin/bundler
blob: 35941a2ae452c51cd7733f58b0b1487c2e7b6ef6 (plain)
1
2
3
4
5
6
7
8
9
10
#!/usr/bin/env ruby

require 'bundler'
require 'bundler/cli'

ui = Bundler::UI::Shell.new
ui.error "It's recommended to use Bundler through 'bundle' binary instead of 'bundler'"

bin = "#{File.dirname(__FILE__)}/bundle #{ARGV.join(" ")}"
exec bin