Note: Please go to docs.rightscale.com to access the current RightScale documentation set. Also, feel free to Chat with us!
Home > FAQs > Why does a RightScale gem fail to install due to an old version of Ruby on CentOS?

Why does a RightScale gem fail to install due to an old version of Ruby on CentOS?

Table of Contents

Answer

The problem seen here is most likely from a freeze date being set incorrectly on the ServerTemplate's repos. A good rule of thumb, if your template is cloned from a RightScale template, is to double-check the freeze dates set in the RightScale template, and change your template to match those. You will likely see an error like the following:

13:59:35: ERROR: Error installing right_aws:
right_http_connection requires Ruby version >= 1.8.7

This is because the gem you are installing is newer and therefore requires a newer version of Ruby. You have two choices in this situation. You can either adjust the freeze date on the template, allowing for greater portability, or you can manually update the Ruby on your system, which may not be viable, particularly if this is a server that requires scaling for many systems.

For questions on setting freeze dates on repositories, please refer to the following article:

http://support.rightscale.com/12-Guides/Dashboard_Users_Guide/Manage/Servers/Actions/Edit_Frozen_Software_Repositories

You must to post a comment.
Last modified
21:30, 16 May 2013

Tags

Classifications

This page has no classifications.

Announcements

None


© 2006-2014 RightScale, Inc. All rights reserved.
RightScale is a registered trademark of RightScale, Inc. All other products and services may be trademarks or servicemarks of their respective owners.