On 29 December 2010 13:40, Mark L. <[email protected]> wrote: > ...hey Z, thanx for the reply. 'gem cleanup' does work, but when I try > 'gem install rails' I get the zlib error below. I can't seem to install > any gems due to the zlib problem. I looked into rvm, but I can't see to > get that installed. I am using Fedora, so I used yum to install rvm, but > can't seem to get that working either. rvm doesn't seem to be in my > path, and I can find an executable for it in the .rvm folder. I'm going > to continue working on this, and will post back when I finally figure it > out. Thanx!
Did you make the changes to .bashrc (or whatever the equivalent in Fedora) as described on the website after installing rvm? Until you do that rvm is not available. Colin > > [r...@dhcp226-12 .rvm]# gem update rails > ERROR: Loading command: update (LoadError) > no such file to load -- zlib > ERROR: While executing gem ... (NameError) > uninitialized constant Gem::Commands::UpdateCommand > > > Zoltan Gero wrote in post #971212: >> 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 > > -- > 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 [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. > > -- 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.

