Just now i got soultion.

First remove ruby installed versions .

And try to run these commands :

sudo apt-get  install build-essential bison openssl libreadline5
libreadline-dev curl git-core zlib1g zlib1g-dev libssl-dev vim libsqlite3-0
libsqlite3-dev sqlite3 libreadline-dev libxml2-dev git-core subversion
autoconf

sudo bash -s stable < <(curl -s
https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer )


rvm -v

rvm ls

gem update


----


Thanks,
Sai




On Wed, Jan 4, 2012 at 2:04 AM, [email protected] <
[email protected]> wrote:

> I got the same problem, i think it's something with rubygems that is
> not compiled correctly but so far i can't find the fix.
>
> On 3 jan, 15:59, Colin Law <[email protected]> wrote:
> > On 3 January 2012 14:54, saikiran mothe <[email protected]>
> wrote:
> >
> > > Hi ,
> >
> > > I m unable to install rails by using rvm(ruby version manager ).
> >
> > > Error im getting :
> >
> > >  gem install rails
> > > ERROR:  Loading command: install (LoadError)
> > >     no such file to load -- zlib
> >
> > Googling for
> > rvm no such file to load zlib
> > finds links that will probably help.
> >
> > Colin
>
> --
> 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.

Reply via email to