Ruby on Rails framework could not be loaded

Ruby on Rails framework version 1.2.3 seems to be corrupted. Please reinstall it. This can be done with the following command:
gem install rails --version 1.2.3
Framework that failed to load:
Rails framework version 1.2.3
Error message:
A dummy exception.
Exception class:
StandardError
Backtrace:
# File Line Location
0 ./render_error_pages.rb 17 in `create_dummy_exception'
1 ./render_error_pages.rb 63 in `start'
2 ./render_error_pages.rb 89