Hi, I''m trying to install RedCloth on CentOS. It came with ruby 1.8.5 pre-installed so I installed rubygems-1.2.0 since that seemed compatible (later versions require ruby 1.8.6). All looks good but when I try: [root at dev4 rubygems-1.2.0]# gem install RedCloth ERROR: could not find gem RedCloth locally or in a repository Can anyone tell me what I''m missing? Do I need to configure some repository information? Thanks, Doug P.S. Total Ruby/RubyGems novice - so I could be doing all manner of dumb stuff... -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/redcloth-upwards/attachments/20110118/ec67017a/attachment.html>
Doug, Sorry, I was away on vacation. I''m not sure why it''s not working. I certainly have never tested it with Ruby or RubyGems that old. Even if you do get it to find it, it''s going to want to install a bunch of dependencies that aren''t necessary because older RubyGems didn''t have the concept of development dependencies. If it were me, I''d use RVM to install a recent version of Ruby and RubyGems. Otherwise, I imagine you''ll have problems with libraries other than RedCloth as well and it''s probably not worth figuring out. Good luck! Jason On Tue, Jan 18, 2011 at 7:22 PM, Douglas Pearson <biz at sunnyhome.org> wrote:> Hi, > > I''m trying to install RedCloth on CentOS. It came with ruby 1.8.5 > pre-installed so I installed rubygems-1.2.0 since that seemed compatible > (later versions require ruby 1.8.6). > > All looks good but when I try: > > [root at dev4 rubygems-1.2.0]# gem install RedCloth > ERROR: could not find gem RedCloth locally or in a repository > > Can anyone tell me what I''m missing? Do I need to configure some > repository information? > > Thanks, > > Doug > > P.S. Total Ruby/RubyGems novice - so I could be doing all manner of dumb > stuff... > > > _______________________________________________ > Redcloth-upwards mailing list > Redcloth-upwards at rubyforge.org > http://rubyforge.org/mailman/listinfo/redcloth-upwards >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/redcloth-upwards/attachments/20110123/c8a8944e/attachment.html>
Hey Jason, Thanks a lot for following up. I actually ended up discovering BitNami ( http://bitnami.org) and installing a completely new Ruby stack to an EC2 instance and abandoning the whole CentOS physical server I was working with. I''ve not tried RedCloth again yet but I suspect it''ll go much easier this time since I''m now running with current code. One lesson I''ve learned is that Ruby is very version sensitive - so best not to swim upstream against that. Thanks for the help, Doug On Sun, Jan 23, 2011 at 1:03 PM, Jason Garber <jg at jasongarber.com> wrote:> Doug, > Sorry, I was away on vacation. I''m not sure why it''s not working. I > certainly have never tested it with Ruby or RubyGems that old. Even if you > do get it to find it, it''s going to want to install a bunch of dependencies > that aren''t necessary because older RubyGems didn''t have the concept of > development dependencies. > > If it were me, I''d use RVM to install a recent version of Ruby and > RubyGems. Otherwise, I imagine you''ll have problems with libraries other > than RedCloth as well and it''s probably not worth figuring out. Good luck! > > Jason > > On Tue, Jan 18, 2011 at 7:22 PM, Douglas Pearson <biz at sunnyhome.org>wrote: > >> Hi, >> >> I''m trying to install RedCloth on CentOS. It came with ruby 1.8.5 >> pre-installed so I installed rubygems-1.2.0 since that seemed compatible >> (later versions require ruby 1.8.6). >> >> All looks good but when I try: >> >> [root at dev4 rubygems-1.2.0]# gem install RedCloth >> ERROR: could not find gem RedCloth locally or in a repository >> >> Can anyone tell me what I''m missing? Do I need to configure some >> repository information? >> >> Thanks, >> >> Doug >> >> P.S. Total Ruby/RubyGems novice - so I could be doing all manner of dumb >> stuff... >> >> >> _______________________________________________ >> Redcloth-upwards mailing list >> Redcloth-upwards at rubyforge.org >> http://rubyforge.org/mailman/listinfo/redcloth-upwards >> > >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/redcloth-upwards/attachments/20110123/4d40b24e/attachment-0001.html>
On 2011-01-24 00:47, Douglas Pearson biz-at-sunnyhome.org |Lists/Send to lists| wrote:> One lesson I''ve learned is that Ruby is very version sensitive - so best > not to swim upstream against that.I''ve also had to learn this over and over with different projects. It sucks and is the main reason I''m hesitant to use Ruby. Peter