Skip to content
This repository
Browse code

Require thread explicitly rather than relying on rubygems to do it.

  • Loading branch information...
commit 6d916329b80a2dd68e22e8d9eb825617aaa94b97 1 parent 84465a2
Michael Koziarski authored December 20, 2010
2  actionpack/lib/action_controller/session/mem_cache_store.rb
... ...
@@ -1,6 +1,6 @@
1 1
 begin
2 2
   require_library_or_gem 'memcache'
3  
-
  3
+  require 'thread'
4 4
   module ActionController
5 5
     module Session
6 6
       class MemCacheStore < AbstractStore
1  actionpack/lib/action_view/helpers/asset_tag_helper.rb
... ...
@@ -1,6 +1,7 @@
1 1
 require 'cgi'
2 2
 require 'action_view/helpers/url_helper'
3 3
 require 'action_view/helpers/tag_helper'
  4
+require 'thread'
4 5
 
5 6
 module ActionView
6 7
   module Helpers #:nodoc:
1  actionpack/test/controller/reloader_test.rb
... ...
@@ -1,4 +1,5 @@
1 1
 require 'abstract_unit'
  2
+require 'thread'
2 3
 
3 4
 class ReloaderTests < ActiveSupport::TestCase
4 5
   Reloader   = ActionController::Reloader
2  activesupport/lib/active_support/buffered_logger.rb
... ...
@@ -1,3 +1,5 @@
  1
+require 'thread'
  2
+
1 3
 module ActiveSupport
2 4
   # Inspired by the buffered logger idea by Ezra
3 5
   class BufferedLogger
1  activesupport/test/core_ext/module/synchronization_test.rb
... ...
@@ -1,4 +1,5 @@
1 1
 require 'abstract_unit'
  2
+require 'thread'
2 3
 
3 4
 class SynchronizationTest < Test::Unit::TestCase
4 5
   def setup

0 notes on commit 6d91632

Please sign in to comment.
Something went wrong with that request. Please try again.