I’ve followed the various instructions on the Dreamhost Wiki and elsewhere to get it set up so that I can install my own versions of gems. However, I am having some problems.
I want to install the RedCloth gem. I have installed it and can access it from irb (the interactive ruby console) by doing:
But when I try and do the same thing from the rails console it fails saying that it can’t find the RedCloth gem. I have added the following lines to my environment.rb file:
ENV[‘GEM_PATH’] = '/home/robintw/.gems:/usr/lib/ruby/gems/1.8’
ENV[‘GEM_HOME’] = ‘/home/robintw/.gems’
But it doesn’t seem to have helped.