On Mar 16, 11:11 am, THUFIR HAWAT <hawat.thu...@gmail.com> wrote:
> What does it mean to:
>
> "Run command as a login shell
>
> Select this option to force the command that currently runs inside the
> terminal to run as a login shell. If the command is not a shell, the
>
> I mucked up my environment by running RVM (Ruby Version Manager) with sudo
> and want to undo what was changed.
>
> Now, I see that "The file ~/.bashrc is read by non-login interactive
> shells, and is sourced in ~/.profile, so that its content is also available
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to rubyversi...@googlegroups.com
One additional remark: I had trouble getting the proxy-related environment settings of my production server working in my capistrano deployment setting, e.g. in my case I had put
at the end of .bashrc. This resulted in "bundle install ..." failing miserably when called from cap deploy:setup, and working like a charm when logged into the server.
The failure was related to the servers debian system, which apparently puts something like
# If not running interactively, don't do anything [ -z "$PS1" ] && return
at the very beginning of the .bashrc. Thus, when deploying, the proxy settings never were executed. The fix of course was to put the proxy settings right before this return statement.