Set default Encoding to UTF_8 for Ruby 1.9

This commit is contained in:
Jakub Arnold 2012-05-07 17:30:48 +02:00
parent ed85eb488b
commit 09a936041a

View File

@ -19,6 +19,7 @@ require 'fileutils'
require 'shellwords' # String#shellescape
require 'ruby-debug' if $DEBUG
Encoding.default_external = Encoding::UTF_8 if RUBY_VERSION > '1.8.7'
opts = Trollop::options do
opt :bundle_dir, "TextMate bundle directory", :short => '-d', :type => :string