Skip to content

Commit

Permalink
Fix #192 - Fixed Ruby 1.8 support due to missing String#force_encoding
Browse files Browse the repository at this point in the history
  • Loading branch information
knapo committed Feb 26, 2013
1 parent 765168c commit d20b304
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/i18n/backend/transliterator.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# encoding: utf-8
require 'i18n/core_ext/string/encoding'

module I18n
module Backend
module Transliterator
Expand Down

2 comments on commit d20b304

@radar
Copy link
Collaborator

@radar radar commented on d20b304 Feb 27, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This breaks the build for spree/spree. Can we please have a new i18n gem release?

@radar
Copy link
Collaborator

@radar radar commented on d20b304 Feb 27, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry, to be more precise: I18n WITHOUT this fix breaks spree/spree. I would love to see a new gem release which DOES contain this fix.

Please sign in to comment.