]> git.openstreetmap.org Git - rails.git/commitdiff
Only use SystemTimer on MRI 1.8 as it is superfluous elsewhere
authorJason Meinzer <jason@bithive.net>
Mon, 2 Jan 2012 21:31:10 +0000 (13:31 -0800)
committerTom Hughes <tom@compton.nu>
Wed, 4 Jan 2012 22:25:52 +0000 (22:25 +0000)
See http://ph7spot.com/musings/system-timer for why SystemTimer is
needed on MRI 1.8 and not anywhere else.

Gemfile

diff --git a/Gemfile b/Gemfile
index 1c8adfd34561af222239370fe9ad621d82c5f3fa..08dafa0cc6e08029d2c358bccf77ed3ec7325384 100644 (file)
--- a/Gemfile
+++ b/Gemfile
@@ -29,7 +29,7 @@ gem 'rmagick', :require => 'RMagick'
 gem 'sanitize'
 
 # Load SystemTimer for implementing request timeouts
-gem 'SystemTimer', '>= 1.1.3', :require => 'system_timer'
+gem 'SystemTimer', '>= 1.1.3', :require => 'system_timer', :platforms => :ruby_18
 
 # Load httpclient for SOAP support for Quova GeoIP queries
 gem 'httpclient'