Skip to content

Instantly share code, notes, and snippets.

@hpyhacking
Created November 15, 2012 00:20
Show Gist options
  • Save hpyhacking/4075802 to your computer and use it in GitHub Desktop.
Save hpyhacking/4075802 to your computer and use it in GitHub Desktop.
maruku 0.6.0 patch fixed Iconv warnning.
21,24d20
<
< require 'iconv'
<
<
49c45
< converted = Iconv.new('utf-8', enc).iconv(data)
---
> converted = data.encode enc
@hpyhacking
Copy link
Author

use below command to fixed maruku.
patch $GEM_HOME/gems/maruku-0.6.0/lib/maruku/input/parse_doc.rb parse_doc.patch

@hpyhacking
Copy link
Author

patch $GEM_HOME/gems/maruku-0.6.0/lib/maruku/input/parse_doc.rb parse_doc.patch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment