Permalink
Browse files

Fix a regression caused by f043f32

  • Loading branch information...
1 parent fa13c03 commit 413155a9ad630925c2b7316a13387d3caa81b41b @be9 be9 committed with rkh May 26, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/rack/utils.rb
View
@@ -4,7 +4,7 @@
require 'tempfile'
require 'rack/multipart'
-major, minor, patch = RUBY_VERSION.split('.')
+major, minor, patch = RUBY_VERSION.split('.').map { |v| v.to_i }
if (major == 1 && minor < 9) || (major == 1 && minor == 9 && patch < 2)
# pull in backports

0 comments on commit 413155a

Please sign in to comment.