Monday, May 25, 2009

Lesson 14 - RedCloth

As part of this lesson I must install RedCloth by using the following command:
gem install RedCloth.

Unfortunately my version of Instant Rails doesn't have the right version of Ruby Gems and I get the following error:

ERROR: Error installing RedCloth:
RedCloth requires RubyGems version >= 1.2

I have done some investigation and since my version of RubyGems is 1.0.1 eg C:\InstantRails\rails_apps\myapp>gem -v
1.0.1

I have figured out that the following command should fix my problem:
>gem update --system

Thanks to Eric Hodel at http://blog.segment7.net/articles/2008/06/21/rubygems-1-2-0

RedCloth has now installed correctly. Yah...

No comments:

Post a Comment