Skip to content

Commit

Permalink
no error on old rack
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonathan Dahan committed Mar 23, 2011
1 parent 520b4c1 commit fd77078
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config.ru
Expand Up @@ -5,7 +5,7 @@ $: << ::File.join(path, 'lib')
Dir[::File.join(path, 'deps', '*', 'lib')].each {|x| $: << x } Dir[::File.join(path, 'deps', '*', 'lib')].each {|x| $: << x }


# Require newest rack # Require newest rack
raise 'Rack 1.2.0 or newer required' if Rack.release < '1.2' #raise 'Rack 1.2.0 or newer required' if Rack.release < '1.2'


# We want to read all text data as UTF-8 # We want to read all text data as UTF-8
Encoding.default_external = Encoding::UTF_8 if ''.respond_to? :encoding Encoding.default_external = Encoding::UTF_8 if ''.respond_to? :encoding
Expand Down

0 comments on commit fd77078

Please sign in to comment.