...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!
[root@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 rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
No comments:
Post a Comment