Project

General

Profile

Actions

Bug #7575

open

[Documentation] Install guide incurs RVM's sudo wrath

Added by Nico César about 9 years ago. Updated over 3 years ago.

Status:
New
Priority:
Normal
Assigned To:
-
Category:
Documentation
Target version:
-
Start date:
10/15/2015
Due date:
% Done:

0%

Estimated time:
Story points:
0.5

Description

now rvm-exec displays a warning when using sudo. the documentation should be addapted or change the way we do this

from http://doc.arvados.org/install/install-shell-server.html

nico@shell:~$ sudo /usr/local/rvm/bin/rvm-exec default gem install arvados-cli
[sudo] password for nico: 

Warning: PATH set to RVM ruby but GEM_HOME and/or GEM_PATH not set, see:
    https://github.com/wayneeseguin/rvm/issues/3212

Hint: To fix PATH errors try using 'rvmsudo' instead of 'sudo', see:
    http://stackoverflow.com/questions/27784961/received-warning-message-path-set-to-rvm-after-updating-ruby-version-using-rvm/28080063#28080063

Warning! PATH is not properly set up, $GEM_HOME is not set,
         usually this is caused by shell initialization files - check them for 'PATH=...' entries,
         it might also help to re-add RVM to your dotfiles: 'rvm get stable --auto-dotfiles',
         to fix temporarily in this shell session run: 'rvm use ruby-2.1.5'.
Successfully installed arvados-cli-0.1.20150930141818
Parsing documentation for arvados-cli-0.1.20150930141818
Installing ri documentation for arvados-cli-0.1.20150930141818
Done installing documentation for arvados-cli after 0 seconds
1 gem installed
Actions

Also available in: Atom PDF