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 ERROR: While executing gem ... (NameError) uninitialized constant Gem::Commands::InstallCommand My cuurent ruby version : 1.9.2 gem version : 1.8.0 Thanks, Sai -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
On 3 January 2012 14:54, saikiran mothe <saikiran.mothe-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 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 -- zlibGoogling 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org 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.
StephanParis-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
2012-Jan-03 20:34 UTC
Re: unable to install rails using rvm
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 <clan...-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org> wrote:> On 3 January 2012 14:54, saikiran mothe <saikiran.mo...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org 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.
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, StephanParis-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org < stephanparis-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 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 <clan...-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org> wrote: > > On 3 January 2012 14:54, saikiran mothe <saikiran.mo...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> > 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
muhammad singgih zulfikar ansori
2012-Jan-04 06:46 UTC
Re: Re: unable to install rails using rvm
Wow I never heard that errors before. i think the easy way to resolve that is remove your old gem, or check your rvm n ruby installed correctly or not? that''s was my last option when i found errors n cannot resolve it. On Wed, Jan 4, 2012 at 3:39 AM, saikiran mothe <saikiran.mothe-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>wrote:> 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, StephanParis-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org < > stephanparis-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 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 <clan...-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org> wrote: >> > On 3 January 2012 14:54, saikiran mothe <saikiran.mo...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> >> 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >> To unsubscribe from this group, send email to >> rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >> 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.