ERROR: Unrecognized command line argument: 'pkg' ( see: 'rvm usage' )
-
03-12-2019 - |
Question
I am trying to run
rvm pkg install zlib
and I get the following message
ERROR: Unrecognized command line argument: 'pkg' ( see: 'rvm usage' )
I installed rvm by running:
sudo apt-get install ruby-rvm
I have searched online but I have only found a similar error stating that package
has changed to pkg, but in this case I am using pkg. Any ideas? I am using Ubuntu 11.10 x64
Thank you in advance
Solution
It seems I didn't install rvm as I should.
First uninstall ruby-rvm by running:
$ sudo apt-get --purge remove ruby-rvm
Then install rvm by running:
bash -s stable < <(curl -s https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer )
like the instructions here
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow