NoKarma/rbenv — comment on commit fb2026a86c665a77f62ce333e95c839f2513a35c
File:  line 0
By NoKarma:

Of course. But according to a webpage on the Ubuntu wiki, that is not
recommended, as you will loose any speed gains that Dash provides.
Also, there was some talk about possible incompatibilities. I'll look
the page up as soon as I'm at my desktop.

I think the best solution would be to change the code that is added to
.profile to only add rbenv and the shims to the path when called from
dash, and when called from bash to source .bashrc using a guard to
prevent double sourcing.

Still, this situation really sucks.

Von meinem iPhone gesendet

Am 23.11.2011 um 18:12 schrieb Will Gray
:

> ~/.profile is always used when logging in through gdm, regardless of the login shell. Its run through /bin/sh, which defaults to dash on Ubuntu, but can be switched to bash.
>
> ---
> Reply to this email directly or view it on GitHub:
> https://github.com/NoKarma/rbenv/commit/fb2026a86c665a77f62ce333e95c839f2513a35c#commitcomment-741799