Today I was looking at an earlier test Ruby program that I had written to explore photos on Flickr. I noticed that the program had stopped working and I saw the following error in the log files:
Cannot find gem for Rails =1.1.6: Install the missing gem with 'gem install -v=1.1.6 rails', or change environment.rb to define RAILS_GEM_VERSION with your desired version.
The hosting company that I use updated rails to version 1.2.3 and the rails version that I was using was 1.1.6. I had to edit the file .../config/environment.rb and updated the statement RAILS_GEM_VERSION = '1.2.3' and the program started to work again. Now days it is virtually impossible to write a program that could continue to work over time as the underlying OS, platform, … is revved up.