Bug #7575

[Documentation] Install guide incurs RVM's sudo wrath

Added by Nico C├ęsar over 3 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

History

#1 Updated by Brett Smith over 3 years ago

  • Subject changed from [Documentation] to [Documentation] Install guide incurs RVM's sudo wrath
  • Category set to Documentation

#2 Updated by Brett Smith over 3 years ago

  • Story points set to 0.5

Make the install guide use rvmsudo on these lines.

#3 Updated by Brett Smith over 3 years ago

  • Target version set to Arvados Future Sprints

Also available in: Atom PDF