arkency / ruby-build-cookbook

Cookbook providing definition to install Ruby for user using ruby-build.
11 stars 1 forks source link

Consider exporting the PATH in other file (like .profile) #7

Open mlen opened 11 years ago

mlen commented 11 years ago

According to the manual (in Invocation section), .bashrc is sourced only for interactive and non login shells by default. Some installations source .bashrc from .profile, but it is not reliable. For example the user may have been created without copying files from /etc/skel, thus no system-default .profile file is present in user's home directory.

The solution is either to provide a way to configure where to put the export and/or change the default location.