This project is archived and is in readonly mode.
config.gem ignores version
-
Frederick Cheung
You can't use rails config.gem stuff to specify the version of rails to load - it's all a bit chicken an egg as by the time you're running that a version of rails has already been picked and booted.
-
ticktricktrack
I get that, but I thought that if would check the already loaded versions against the config.gem defined ones.
-
Matt Jones
- State changed from new to wontfix
The core Rails gems are going to be detected as loaded before config.gem runs, so the current code doesn't even try to do anything with them.
You should use the RAILS_GEM_VERSION constant (in environment.rb) to indicate what version you need.