Hi, not sure if I got it well: so you do have Ruby1.9, Gem1.3.7 but only Rails version 2.3.5, now you want to update, right? On Ubuntu try this: "gem update rails" If you have permission problems then "sudo gem update rails" except if you have RVM installed, then don't use sudo when installing gem. Then make a cleanup "gem cleanup" Troubleshhot: "rails -v" should be 3<
Someone told me he only could solve his Zlib problem with RVM, because it has a package for it: http://rvm.beginrescueend.com/packages/zlib/ I really recommend to use RVM, because you can prevent later problems also. Let me know if you have further problems, good luck, Zoli On dec. 28, 02:20, "Mark L." <[email protected]> wrote: > Hey guys, I'm having this same zlib problem on gems. See my output below > for what I have installed, and the error I get when I try and run any > gem commands. Also as you can see I have zlib[devel] installed. Some one > mentioned something about the headers being installed with zlib??? I'm > not sure I know what that means...could someone enlighten me? Any help > appreciated...thanx! > > [r...@dhcp226-12 ruby-1.9.2-p136]# ruby -v > ruby 1.9.2p136 (2010-12-25 revision 30365) [i686-linux] > [r...@dhcp226-12 ruby-1.9.2-p136]# gem -v > 1.3.7 > [r...@dhcp226-12 ruby-1.9.2-p136]# rails -v > Rails 2.3.5 > [r...@dhcp226-12 ruby-1.9.2-p136]# gem install rails > ERROR: Loading command: install (LoadError) > no such file to load -- zlib > ERROR: While executing gem ... (NameError) > uninitialized constant Gem::Commands::InstallCommand > [r...@dhcp226-12 ruby-1.9.2-p136]# yum install zlib zlib-devel > Loaded plugins: presto, refresh-packagekit > Setting up Install Process > Package zlib-1.2.3-23.fc12.i686 already installed and latest version > Package zlib-devel-1.2.3-23.fc12.i686 already installed and latest > version > Nothing to do > > Zoltan Gero wrote in post #937552: > > > ! Excellent :) If you have any further question, just ask > > it, > > all the bests, > > gezope > > > 2010/9/2 Juan Costa <[email protected]> > > -- > Posted viahttp://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 [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.

