Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

check so it works in ruby 1.8.x

  • Loading branch information...
commit 58f294f80e832f30779697c36a78495c5a94b24d 1 parent 494f2c0
@hone hone authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/language_pack/base.rb
View
2  lib/language_pack/base.rb
@@ -3,7 +3,7 @@
require "yaml"
require "digest/sha1"
-Encoding.default_external = Encoding::UTF_8
+Encoding.default_external = Encoding::UTF_8 if defined?(Encoding)
# abstract class that all the Ruby based Language Packs inherit from
class LanguagePack::Base
Please sign in to comment.
Something went wrong with that request. Please try again.