Mohit Jain
Mohit Jain

Reputation: 43959

Issue in install rvm on ubuntu

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

Upvotes: 0

Views: 185

Answers (1)

davids
davids

Reputation: 6371

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.

Upvotes: 2

Related Questions