0

Rvm One line installer is giving me issues ie:

curl -L https://get.rvm.io | bash -s stable --rails   

Iam getting this error:

 ERROR:  Loading command: install (LoadError)
   cannot load such file -- zlib
 ERROR:  While executing gem ... (NameError)
   uninitialized constant Gem::Commands::InstallCommand
Mohit Jain
  • 43,139
  • 57
  • 169
  • 274
  • This thread must be helpful. http://stackoverflow.com/questions/9727908/cannot-load-such-file-zlib-even-after-using-rvm-pkg-install-zlib – Rahul Aug 13 '12 at 10:52

1 Answers1

2

One library is missing. Try executing this first:

sudo apt-get install zlib1g-dev

EDIT:

In the rvm webpage there's a section about this issue https://rvm.io/packages/zlib/

EDIT(mpapis):

The installer command was showing short screen with instruction to install this library, next time read it before pressing q.

mpapis
  • 52,729
  • 14
  • 121
  • 158
davids
  • 6,259
  • 3
  • 29
  • 50