Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

External encoding set to UTF-8 on Ruby 1.9 to fix crash caused by non…

…-ascii characters in pod description
  • Loading branch information...
commit 8feb7fd9b0115ff97bf240ced721dec7de3f3275 1 parent 1e2f63d
@darthdeus authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  bin/pod
View
2  bin/pod
@@ -1,5 +1,7 @@
#!/usr/bin/env ruby
+Encoding.default_external = Encoding::UTF_8 if RUBY_VERSION > '1.8.7'
+
if $0 == __FILE__
$:.unshift File.expand_path('../../external/Xcodeproj/ext', __FILE__)
$:.unshift File.expand_path('../../external/Xcodeproj/lib', __FILE__)
Please sign in to comment.
Something went wrong with that request. Please try again.