bin/archiver in archiver-0.1.0 vs bin/archiver in archiver-1.0.0

- old
+ new

@@ -1,13 +1,14 @@ #!/usr/bin/env ruby # Created by Thomas Boerger on 2012-03-16. # Copyright (c) 2012. All rights reserved. -$:.push File.expand_path('../../lib', __FILE__) - require 'rubygems' -require 'archiver' +require 'bundler' -trap('INT') { exit 0 } +Bundler.setup(:default) -Archiver::Cli.start +$:.push File.expand_path('../../lib', __FILE__) +require 'archiver' + +Archiver::Cli.new(ARGV, STDOUT, STDERR)