Commit a6ea24faeb9d4d5acc7b59bbcb368927a804e4d8

Authored by Rodrigo Souto
1 parent 65430ed0

Require lib thread on boot to avoid conflict with newer versions of rubygems

Showing 1 changed file with 3 additions and 0 deletions   Show diff stats
config/boot.rb
1 1 # Don't change this file!
2 2 # Configure your app in config/environment.rb and config/environments/*.rb
  3 +#FIXME-rails3 Only necessary to avoid rails <= 2.3.8 to conflict with rubygems => 1.6.0
  4 +# Reference: http://stackoverflow.com/questions/5176782/uninitialized-constant-activesupportdependenciesmutex-nameerror
  5 +require 'thread'
3 6  
4 7 RAILS_ROOT = "#{File.dirname(__FILE__)}/.." unless defined?(RAILS_ROOT)
5 8  
... ...