Rockshandy
Rockshandy

Reputation: 147

newest rvm won't display requirements

So I'm not sure if I'm missing something, but is there a particular setting for autolibs to have

rvm requirements

display the requirements instead of checking if they are installed? Or am I missing some other option to simply display requirements? I'm using version 1.19.0

Upvotes: 4

Views: 395

Answers (1)

mpapis
mpapis

Reputation: 53158

from https://rvm.io/rvm/autolibs - there are two modes that will be useful for you:

  1. rvm autolibs read-only - it will do all the steps and only show the required commands / missing libraries
  2. rvm autolibs enable - it will install everything for you, it might require sudo password so a nice trick for tools like capistranos is to:

    rvm autolibs read-only
    sudo rvm --autolibs=enabled requirements ruby-2.0.0
    rvm install ruby-2.0.0
    

A writeup about autolibs https://blog.engineyard.com/2013/rvm-ruby-2-0

Upvotes: 5

Related Questions