Skip to content
Browse files

Ruby >= 1.9 doesn't have jcode

  • Loading branch information...
1 parent de34cd4 commit 20e821465f2fa19a4497e9f16666ea0606deb834 @rubydev rubydev committed Jul 5, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/language_detector.rb
View
2 lib/language_detector.rb
@@ -1,5 +1,5 @@
require 'yaml'
-require 'jcode'
+require 'jcode' if RUBY_VERSION < '1.9'
$KCODE = 'u' if RUBY_VERSION < '1.9'
class LanguageDetector

0 comments on commit 20e8214

Please sign in to comment.
Something went wrong with that request. Please try again.