Skip to content

Commit

Permalink
Do not specify a file extension when requiring ruby files
Browse files Browse the repository at this point in the history
This is so that other Rubies, such as MacRuby, which compile the code
can require files and load the compiled file instead of the source file.

Signed-off-by: Mark Rada <mrada@marketcircle.com>
  • Loading branch information
ferrous26 authored and Sven Fuchs committed Feb 12, 2011
1 parent 0318ba3 commit f8a1689
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/i18n.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
require 'i18n/version'
require 'i18n/exceptions'
require 'i18n/interpolate/ruby.rb'
require 'i18n/interpolate/ruby'

module I18n
autoload :Backend, 'i18n/backend'
Expand Down

0 comments on commit f8a1689

Please sign in to comment.