rvm requirements problem in Debian

51 views
Skip to first unread message

Pavel Shpak

unread,
Jun 18, 2013, 3:33:47 AM6/18/13
to rubyversi...@googlegroups.com
Hi guys,
Could somebody explain me following behavior of RVM and help me with my problem?

I've just installed latest RVM (1.20.13) on Debian.
I installed it at work where I have not sudo rights.
I want to check if all necessary libraries installed for MRI ruby 1.9.3
So I run command:

rvm requirements

but it is trying to install libraries instead of print it to me.
So, I disable autolibs with command:

rvm autolibs desable

and repeat command:

rvm requirements

Now I have no print out and it is do nothing.
Such behavior is really strange for me because rvm help command says:

"requirements  :: Shows additional OS specific dependencies/requirements for
                 building various rubies."

So, back to my question:
Could somebody explain me following behavior of RVM and help me with my problem?

Thanks a lot in advance for any answer.
Pavel

Pavel Shpak

unread,
Jun 18, 2013, 3:40:56 AM6/18/13
to rubyversi...@googlegroups.com
I find out the missing libraries with following command:

rvm requirements --autolibs=read-only

it gives me printout as following:

Missing required packages: libreadline6-dev, libyaml-dev, libxslt1-dev, libgdbm-dev.

But I still don't know why rvm requirements with autolibs disabled do not show any printout.
So, question about behavior is opened ))

mpapis

unread,
Jun 23, 2013, 5:16:14 PM6/23/13
to rubyversi...@googlegroups.com
the old "rvm requirements" was just set of text to display about what is required, with time it got more and more conditional, but never was doing anything, by following the automation path we have taken some time ago we have turned requirements into code that does all the "right" things users should do to get the libs needed for ruby, it is often more then just running single command.

as it all automated now we have created the "autolibs" flag that control level of automation by using the "disabled" level it should be obvious - rvm will use no automation, it's all up to you - we assume you know better.
Reply all
Reply to author
Forward
0 new messages