Work around a gem dependency edge case that prevents Rails from booting..
Work around a gem dependency edge case that prevents Rails from booting..

If you have a frozen gem with unfrozen dependencies (for instance if the
dependency has native extensions so can't be frozen) you can have a
nightmare upgrade problem, where you cannot rake gems:install, because
rake is broken by a gem loading problem.

If you bump up your frozen gem to a newer version that requires a newer
dependency, everybody else on the team will have rake broken by that
dependency mismatch, since you will have had to specify the dependency
in your config.gems, otherwise nobody will have installed it, since the
parent is frozen. And now the config.gems loading code will kill rake.

[#2609 state:committed]

Signed-off-by: Jeremy Kemper <b3f594e10a9edcf5413cf1190121d45078c62290@bitsweat.net>

rbhitchcock/rails,kirs/rails-1,georgeclaghorn/rails,voray/rails,kddeisz/rails,shioyama/rails,riseshia/railsguides.kr,illacceptanything/illacceptanything,jeremy/rails,aditya-kapoor/rails,kachick/rails,richseviora/rails,tijwelch/rails,lcreid/rails,alecspopa/rails,rails/rails,schuetzm/rails,kmayer/rails,BlakeWilliams/rails,gauravtiwari/rails,stefanmb/rails,joonyou/rails,Envek/rails,repinel/rails,yahonda/rails,yalab/rails,sealocal/rails,MSP-Greg/rails,palkan/rails,rafaelfranca/omg-rails,Erol/rails,yalab/rails,illacceptanything/illacceptanything,schuetzm/rails,ledestin/rails,baerjam/rails,kmcphillips/rails,bolek/rails,bradleypriest/rails,gcourtemanche/rails,sergey-alekseev/rails,starknx/rails,mechanicles/rails,Spin42/rails,kenta-s/rails,Envek/rails,pvalena/rails,MSP-Greg/rails,hanystudy/rails,MSP-Greg/rails,kaspth/rails,Spin42/rails,yahonda/rails,brchristian/rails,mijoharas/rails,kmcphillips/rails,notapatch/rails,MichaelSp/rails,notapatch/rails,betesh/rails,flanger001/rails,vipulnsward/rails,ledestin/rails,Stellenticket/rails,Vasfed/rails,koic/rails,lucasmazza/rails,yalab/rails,odedniv/rails,esparta/rails,utilum/rails,illacceptanything/illacceptanything,amoody2108/TechForJustice,xlymian/rails,pschambacher/rails,eileencodes/rails,arunagw/rails,gauravtiwari/rails,fabianoleittes/rails,fabianoleittes/rails,Vasfed/rails,vassilevsky/rails,vassilevsky/rails,kachick/rails,kenta-s/rails,rails/rails,riseshia/railsguides.kr,yasslab/railsguides.jp,mohitnatoo/rails,elfassy/rails,EmmaB/rails-1,yhirano55/rails,mijoharas/rails,tijwelch/rails,rafaelfranca/omg-rails,starknx/rails,tjschuck/rails,elfassy/rails,Stellenticket/rails,utilum/rails,iainbeeston/rails,mijoharas/rails,hanystudy/rails,yhirano55/rails,ngpestelos/rails,mtsmfm/rails,betesh/rails,yasslab/railsguides.jp,shioyama/rails,gcourtemanche/rails,georgeclaghorn/rails,printercu/rails,travisofthenorth/rails,odedniv/rails,kamipo/rails,marklocklear/rails,kddeisz/rails,maicher/rails,88rabbit/newRails,amoody2108/TechForJustice,baerjam/rails,kaspth/rails,Edouard-chin/rails,brchristian/rails,notapatch/rails,mtsmfm/railstest,stefanmb/rails,yawboakye/rails,illacceptanything/illacceptanything,esparta/rails,printercu/rails,Vasfed/rails,coreyward/rails,gfvcastro/rails,coreyward/rails,betesh/rails,gavingmiller/rails,mechanicles/rails,deraru/rails,aditya-kapoor/rails,jeremy/rails,yawboakye/rails,yahonda/rails,illacceptanything/illacceptanything,mohitnatoo/rails,mohitnatoo/rails,BlakeWilliams/rails,deraru/rails,xlymian/rails,sergey-alekseev/rails,flanger001/rails,palkan/rails,ttanimichi/rails,lcreid/rails,voray/rails,fabianoleittes/rails,riseshia/railsguides.kr,esparta/rails,iainbeeston/rails,jeremy/rails,repinel/rails,assain/rails,kachick/rails,esparta/rails,deraru/rails,ttanimichi/rails,yhirano55/rails,Stellenticket/rails,illacceptanything/illacceptanything,repinel/rails,koic/rails,vipulnsward/rails,flanger001/rails,Erol/rails,schuetzm/rails,printercu/rails,richseviora/rails,Spin42/rails,BlakeWilliams/rails,lucasmazza/rails,yhirano55/rails,mathieujobin/reduced-rails-for-travis,kddeisz/rails,travisofthenorth/rails,georgeclaghorn/rails,joonyou/rails,shioyama/rails,stefanmb/rails,yahonda/rails,pschambacher/rails,sergey-alekseev/rails,bogdanvlviv/rails,bolek/rails,Vasfed/rails,tijwelch/rails,alecspopa/rails,lcreid/rails,ngpestelos/rails,samphilipd/rails,jeremy/rails,gavingmiller/rails,rossta/rails,alecspopa/rails,mechanicles/rails,bradleypriest/rails,illacceptanything/illacceptanything,prathamesh-sonpatki/rails,baerjam/rails,untidy-hair/rails,baerjam/rails,yawboakye/rails,rbhitchcock/rails,illacceptanything/illacceptanything,illacceptanything/illacceptanything,vassilevsky/rails,rbhitchcock/rails,voray/rails,assain/rails,assain/rails,untidy-hair/rails,fabianoleittes/rails,samphilipd/rails,mtsmfm/railstest,schuetzm/rails,MichaelSp/rails,iainbeeston/rails,matrinox/rails,rossta/rails,Edouard-chin/rails,tgxworld/rails,shioyama/rails,EmmaB/rails-1,amoody2108/TechForJustice,yasslab/railsguides.jp,bolek/rails,untidy-hair/rails,betesh/rails,aditya-kapoor/rails,MichaelSp/rails,gfvcastro/rails,riseshia/railsguides.kr,arunagw/rails,rails/rails,assain/rails,pschambacher/rails,arjes/rails,tjschuck/rails,prathamesh-sonpatki/rails,mechanicles/rails,kenta-s/rails,Edouard-chin/rails,starknx/rails,xlymian/rails,sealocal/rails,yasslab/railsguides.jp,Stellenticket/rails,illacceptanything/illacceptanything,illacceptanything/illacceptanything,Sen-Zhang/rails,illacceptanything/illacceptanything,illacceptanything/illacceptanything,bogdanvlviv/rails,matrinox/rails,tjschuck/rails,vipulnsward/rails,lucasmazza/rails,ngpestelos/rails,elfassy/rails,mtsmfm/rails,pvalena/rails,gauravtiwari/rails,88rabbit/newRails,tgxworld/rails,Envek/rails,prathamesh-sonpatki/rails,hanystudy/rails,tgxworld/rails,gfvcastro/rails,felipecvo/rails,flanger001/rails,illacceptanything/illacceptanything,illacceptanything/illacceptanything,marklocklear/rails,yawboakye/rails,arjes/rails,Sen-Zhang/rails,mohitnatoo/rails,eileencodes/rails,arjes/rails,mtsmfm/railstest,aditya-kapoor/rails,ledestin/rails,notapatch/rails,kmayer/rails,travisofthenorth/rails,gfvcastro/rails,utilum/rails,kamipo/rails,bradleypriest/rails,georgeclaghorn/rails,BlakeWilliams/rails,repinel/rails,travisofthenorth/rails,sealocal/rails,felipecvo/rails,coreyward/rails,maicher/rails,kmcphillips/rails,Envek/rails,untidy-hair/rails,MSP-Greg/rails,rossta/rails,kaspth/rails,Erol/rails,utilum/rails,kamipo/rails,mathieujobin/reduced-rails-for-travis,samphilipd/rails,pvalena/rails,vipulnsward/rails,marklocklear/rails,palkan/rails,pvalena/rails,bogdanvlviv/rails,odedniv/rails,brchristian/rails,felipecvo/rails,joonyou/rails,EmmaB/rails-1,mathieujobin/reduced-rails-for-travis,palkan/rails,printercu/rails,gcourtemanche/rails,koic/rails,rafaelfranca/omg-rails,Edouard-chin/rails,Sen-Zhang/rails,yalab/rails,arunagw/rails,kirs/rails-1,richseviora/rails,lcreid/rails,matrinox/rails,tjschuck/rails,gavingmiller/rails,kirs/rails-1,iainbeeston/rails,deraru/rails,eileencodes/rails,kmayer/rails,tgxworld/rails,Erol/rails,rails/rails,maicher/rails,joonyou/rails,eileencodes/rails,bogdanvlviv/rails,ttanimichi/rails,88rabbit/newRails,prathamesh-sonpatki/rails,kmcphillips/rails,kddeisz/rails,mtsmfm/rails,arunagw/rails