How to get RedCloth on Ubuntu Hardy?


#1

Hello,

I try to get RedCloth installed on my Ubuntu Hardy machine. Naturally, I
typed

sudo gem install RedCloth

but this brought the error:

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

However, gem update --system is disabled on Ubuntu, so I’m stuck with
gem version 1.1.1. Any suggestions?

Thanks,

Michael


#2

You can update RubyGems by installing the rubygems_update gem and
running it by hand.

$ sudo gem install rubygems_update
$ sudo update_rubygems

Be aware that you sidestep the package system by doing this, so it
might lead to strange behaviour if a rubygems update is pushed on apt.
But thats a thing a Linux-User should answer you ;).

Regards,
Florian G.