Sha256: 428beda016bfaf8e649decfc537e2dbab0fdb46ccea67a80200db507d470bb8f

Contents?: true

Size: 590 Bytes

Versions: 1

Compression:

Stored size: 590 Bytes

Contents

#!/usr/bin/env ruby
$LOAD_PATH << File.join(File.dirname(__FILE__), '..', 'lib')

require 'optparse'
require 'bumbler'

OptionParser.new do |parser|
  parser.banner = <<BANNER
Bumbler shows how long loading your bundle components take.

Usage:
    bumbler

Options:
BANNER
  parser.on("-h", "--help","Show this.") { puts parser; exit }
  parser.on('-v', '--version','Show Version'){ puts Bumbler::VERSION; exit}
end.parse!

require 'bumbler/go'
require './config/environment'
$LOAD_PATH << File.join(File.dirname(__FILE__), '..', 'lib') # bundler kicks us out
Bumbler::Stats.all_slow_items

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
bumbler-0.2.1 bin/bumbler