Commit 0fb6c374e1eefd8374d59511d79ea335a9329a6f
1 parent
6e8fe827
Exists in
master
and in
28 other branches
Hack on config/environment to avoid downgrading rubygems version
Showing
1 changed file
with
4 additions
and
0 deletions
Show diff stats
config/environment.rb
1 | 1 | # Be sure to restart your web server when you modify this file. |
2 | 2 | |
3 | +#FIXME Necessary hack to avoid the need of downgrading rubygems on rails 2.3.5 | |
4 | +# http://stackoverflow.com/questions/5564251/uninitialized-constant-activesupportdependenciesmutex | |
5 | +require 'thread' | |
6 | + | |
3 | 7 | # Uncomment below to force Rails into production mode when |
4 | 8 | # you don't control web/app server and can't set it the proper way |
5 | 9 | #ENV['RAILS_ENV'] ||= 'production' | ... | ... |