Thanks for your help. But it still does not work. I have downloaded ruby source, compiled and installed. It still gives the same error!
I do not understand what I am missing! On Feb 10, 11:51 am, Xie Hanjian <[email protected]> wrote: > Hi Paryank, > > Though I have no direct solution for you, I think compile/install Ruby > 1.8.7 may solve this problem, while ruby packages on CentOS is obsolete. > > Jan > > * Paryank <[email protected]> [2009-02-09 21:29:44 -0800]: > > > > > > > Hi > > > I have installed CentOS 5.2 on my PC. Ruby 1.8.5 and Ruby-devel > > packages are already installed. I have downloaded rubygems-1.3.1.tgz > > package and installed it. Now I am trying to install Rails by the > > command below: > > > gem install rails > > > But it gives me the following error: > > > ERROR: While executing gem ... (Zlib::DataError) > > incorrect header check > > > zlib and zlib-devel are already installed on my pc. I can install > > other gems like hpricot etc. But still I cannot install rails. > > > Can somebody please guide me how can I install rails on CentOS? > > > Thank you, > > Paryank > > > > -- > jan=callcc{|jan|jan};jan.call(jan) > > application_pgp-signature_part > < 1KViewDownload --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

