Rails::VERSION::STRING shows 1.1.6, but 1.2.1 expected

On that topic, is there some sort of general way to keep all the files in script/ and config/ up to date with the rails version?