From a6ea24faeb9d4d5acc7b59bbcb368927a804e4d8 Mon Sep 17 00:00:00 2001 From: Rodrigo Souto Date: Thu, 24 Apr 2014 13:42:53 +0000 Subject: [PATCH] Require lib thread on boot to avoid conflict with newer versions of rubygems --- config/boot.rb | 3 +++ 1 file changed, 3 insertions(+), 0 deletions(-) diff --git a/config/boot.rb b/config/boot.rb index d105634..d88832c 100644 --- a/config/boot.rb +++ b/config/boot.rb @@ -1,5 +1,8 @@ # Don't change this file! # Configure your app in config/environment.rb and config/environments/*.rb +#FIXME-rails3 Only necessary to avoid rails <= 2.3.8 to conflict with rubygems => 1.6.0 +# Reference: http://stackoverflow.com/questions/5176782/uninitialized-constant-activesupportdependenciesmutex-nameerror +require 'thread' RAILS_ROOT = "#{File.dirname(__FILE__)}/.." unless defined?(RAILS_ROOT) -- libgit2 0.21.2