data345-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
2007-Oct-12 01:10 UTC
Installing Rails on CentOS 5
I''m running CentOS 5. So far I''ve downloaded tarballs, ruby-1.8.6.tar.gz and rubygems-0.9.4.tgz. I seemed to have successfully installed ruby, and maybe rubygems I went into rubygems-0.9.4 directory, and typed: ruby setup.rb The first error I get is: /usr/local/lib/ruby/site_ruby/1.8/rubygems/remote_fetcher.rb:4:in `require'': no such file to load -- zlib (LoadError) The file remote_fetcher.rb does exist in the path specified above. I checked to see if the zlib library was installed, it is. Suggestions? I''m willing to use another method to install (yum?), if necessary. === Al --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Try yum install zlib zlib-devel data345-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org wrote:> I''m running CentOS 5. > > So far I''ve downloaded tarballs, ruby-1.8.6.tar.gz and > rubygems-0.9.4.tgz. I seemed to have successfully installed ruby, and > maybe rubygems > > I went into rubygems-0.9.4 directory, and typed: > ruby setup.rb > > The first error I get is: > /usr/local/lib/ruby/site_ruby/1.8/rubygems/remote_fetcher.rb:4:in > `require'': no such file to load -- zlib (LoadError) > > The file remote_fetcher.rb does exist in the path specified above. I > checked to see if the zlib library was installed, it is. > > Suggestions? > > I''m willing to use another method to install (yum?), if necessary. > === Al > > > > >--~--~---------~--~----~------------~-------~--~----~ 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 Oct 11, 6:29 pm, William Pratt <bi...-YbheRAKfYF4eIZ0/mPfg9Q@public.gmane.org> wrote:> Try > > yum install zlib zlib-devel > > data...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org wrote: > > I''m running CentOS 5. > > > So far I''ve downloaded tarballs, ruby-1.8.6.tar.gz and > > rubygems-0.9.4.tgz. I seemed to have successfully installed ruby, and > > maybe rubygems > > > I went into rubygems-0.9.4 directory, and typed: > > ruby setup.rb > > > The first error I get is: > > /usr/local/lib/ruby/site_ruby/1.8/rubygems/remote_fetcher.rb:4:in > > `require'': no such file to load -- zlib (LoadError) > > > The file remote_fetcher.rb does exist in the path specified above. I > > checked to see if the zlib library was installed, it is. > > > Suggestions? > > > I''m willing to use another method to install (yum?), if necessary. > > === AlI''ve never used CentOS, but here''s a lsit of most commonly forgotten libs to install: http://groups.google.com/group/ruby-talk-google/browse_thread/thread/bb8c1fdb8837d4b2/ then the most common stumbling blocks after that are installing MySQL / postgres , readline, SSL and rmagick (i think) --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
> then the most common stumbling blocks after that are installing MySQL / > postgres , readline, SSL and rmagick (i think)For rmagick, be sure to have the ghostscript-fonts.noarch yum package installed first... at least if you''ve compiled imagemagick to use freetype... That one bit me today... yum install ghostscript-fonts.noarch --~--~---------~--~----~------------~-------~--~----~ 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''m not sure if these will help as I''ve never used centos before: http://wiki.slicehost.com/doku.php?id=install_rails_on_centos_4.3_slice http://opensoul.org/2006/8/2/rpms-for-deploying-rails-on-centos On Oct 11, 10:18 pm, Philip Hallstrom <ra...-SUcgGwS4C16SUMMaM/qcSw@public.gmane.org> wrote:> > then the most common stumbling blocks after that are installing MySQL / > > postgres , readline, SSL and rmagick (i think) > > For rmagick, be sure to have the ghostscript-fonts.noarch yum package > installed first... at least if you''ve compiled imagemagick to use > freetype... > > That one bit me today... > > yum install ghostscript-fonts.noarch--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
data345-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
2007-Oct-12 23:03 UTC
Re: Installing Rails on CentOS 5
The problem I''m stuck with continues to be the zlib error. I''ve yum install zlib zlib-devel successfully. However, I still get the error: /usr/local/lib/ruby/site_ruby/1.8/rubygems/remote_fetcher.rb:4:in `require'': no such file to load -- zlib (LoadError) Bummer. === Al On Oct 11, 5:29 pm, William Pratt <bi...-YbheRAKfYF4eIZ0/mPfg9Q@public.gmane.org> wrote:> Try > > yum install zlib zlib-devel > > data...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org wrote: > > I''m running CentOS 5. > > > So far I''ve downloaded tarballs, ruby-1.8.6.tar.gz and > > rubygems-0.9.4.tgz. I seemed to have successfully installed ruby, and > > maybe rubygems > > > I went into rubygems-0.9.4 directory, and typed: > > ruby setup.rb > > > The first error I get is: > > /usr/local/lib/ruby/site_ruby/1.8/rubygems/remote_fetcher.rb:4:in > > `require'': no such file to load -- zlib (LoadError) > > > The file remote_fetcher.rb does exist in the path specified above. I > > checked to see if the zlib library was installed, it is. > > > Suggestions? > > > I''m willing to use another method to install (yum?), if necessary. > > === Al--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Can you paste in the first 10 or so lines of /usr/local/lib/ruby/site_ruby/1.8/rubygems/remote_fetcher.rb:4 data345-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org wrote:> The problem I''m stuck with continues to be the zlib error. I''ve > yum install zlib zlib-devel > successfully. > > However, I still get the error: > /usr/local/lib/ruby/site_ruby/1.8/rubygems/remote_fetcher.rb:4:in > `require'': no such file to load -- zlib (LoadError) > > Bummer. > === Al > > On Oct 11, 5:29 pm, William Pratt <bi...-YbheRAKfYF4eIZ0/mPfg9Q@public.gmane.org> wrote: > >> Try >> >> yum install zlib zlib-devel >> >> data...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org wrote: >> >>> I''m running CentOS 5. >>> >>> So far I''ve downloaded tarballs, ruby-1.8.6.tar.gz and >>> rubygems-0.9.4.tgz. I seemed to have successfully installed ruby, and >>> maybe rubygems >>> >>> I went into rubygems-0.9.4 directory, and typed: >>> ruby setup.rb >>> >>> The first error I get is: >>> /usr/local/lib/ruby/site_ruby/1.8/rubygems/remote_fetcher.rb:4:in >>> `require'': no such file to load -- zlib (LoadError) >>> >>> The file remote_fetcher.rb does exist in the path specified above. I >>> checked to see if the zlib library was installed, it is. >>> >>> Suggestions? >>> >>> I''m willing to use another method to install (yum?), if necessary. >>> === Al >>> > > > > >--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---