From db22c6c5dabac89b66aab8dd0710636d9be75a67 Mon Sep 17 00:00:00 2001 From: elijah Date: Wed, 20 Feb 2013 01:41:55 -0800 Subject: force valid utf8 for older versions of pandoc that barf on illegal utf-8 bytes. --- Gemfile | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Gemfile') diff --git a/Gemfile b/Gemfile index 511bc73..4b38b7d 100644 --- a/Gemfile +++ b/Gemfile @@ -9,6 +9,9 @@ gem 'haml' # allow pages with .haml gem 'RedCloth' # allow :textile in HAML gem 'sass-rails' # not sure why can't be in :assets group gem 'pandoc-ruby' +unless RUBY_VERSION =~ /1.8/ + gem 'iconv' # required for older pandoc +end # Gems used only for assets and not required # in production environments by default. -- cgit v1.2.3