diff options
| author | elijah <elijah@riseup.net> | 2012-10-27 15:13:29 -0700 | 
|---|---|---|
| committer | elijah <elijah@riseup.net> | 2012-10-27 15:13:29 -0700 | 
| commit | b649cce68bb5628f02e324ada7fa72177c832a10 (patch) | |
| tree | d3bd0b5f81cc5e4ce06f4d8ed846553149e4435d | |
| parent | b2cf2a761e29311a5d33c6ff2761e97931667d33 (diff) | |
avoid KCODE error under ruby 1.9
| -rw-r--r-- | lib/leap_cli/config/object.rb | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/lib/leap_cli/config/object.rb b/lib/leap_cli/config/object.rb index 4f993bb..e044353 100644 --- a/lib/leap_cli/config/object.rb +++ b/lib/leap_cli/config/object.rb @@ -1,7 +1,7 @@  require 'erb'  require 'json/pure'  # pure ruby implementation is required for our sorted trick to work. -$KCODE = 'UTF8' +$KCODE = 'UTF8' unless RUBY_VERSION > "1.9.0"  require 'ya2yaml' # pure ruby yaml  module LeapCli | 
