Ruby bit rot

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.

Advertisement

Leave a Reply

Fill in your details below or click an icon to log in:

Gravatar
WordPress.com Logo

Please log in to WordPress.com to post a comment to your blog.

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s


Follow

Get every new post delivered to your Inbox.