My PC is running CentOS 5.2 with Ruby 1.8.6 and Ruby-devel package installed. I have installed RubyGems by downloading rubygems-1.3.1.tgz from rubyforge.org. Now I am trying to install Rails by the following command: gem install rails It gives the following error: ERROR: While executing gem ... (Zlib::DataError) incorrect header check I have tried installing other gem packages like hpricot, needle. They all are installed successfully but I cannot install rails. Can somebody please give me a way to resolve this? Thanks Paryank -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
On Wed, Feb 18, 2009 at 11:54 PM, Paryank Kansara < rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> > My PC is running CentOS 5.2 with Ruby 1.8.6 and Ruby-devel package > installed. I have installed RubyGems by downloading rubygems-1.3.1.tgz > from rubyforge.org. > > Now I am trying to install Rails by the following command: > > gem install rails > > It gives the following error: > > ERROR: While executing gem ... (Zlib::DataError) > incorrect header check > > I have tried installing other gem packages like hpricot, needle. They > all are installed successfully but I cannot install rails. > > Can somebody please give me a way to resolve this? > > Thanks > ParyankAre you running 64-bit? If so, do you have both 32-bit and 64-bit zlib installed? yum list installed zlib.i386 1.2.3-3 installed zlib.x86_64 1.2.3-3 installed zlib-devel.i386 1.2.3-3 installed zlib-devel.x86_64 1.2.3-3 installed Cheers-- Charles --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
I am running 32-bit. zlib and zlib-devel are already installed on my PC. -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---