Xquartz 2.5.0

Watch Dog watchdog6789 at gmail.com
Tue May 15 07:00:24 PDT 2012


man bash

then read carefully the section INVOCATION to understand how (and
which) dot-files are processed.

willy-nilly shuffling of files and contents is usually a poor strategy
for troubleshooting.

--WD

On Tue, May 15, 2012 at 7:51 AM, Jasper Frumau <jasperfrumau at gmail.com> wrote:
> .bash_profile is empty, but .bash_login has:
>
> [[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load
> RVM into a shell session *as a function*
>
> Will check out and clean up .profile
>
> .bashrckilled // former .bashrc has also an RVM piece:
>
> PATH=$PATH:$HOME/.rvm/bin # Add RVM to PATH for scripting
>
> It seems that .bash_login was the main culprit.. Not sure how I can revive
> RVM and keep al going. Never seen a bash script like that before...
>
> MacPorts set twice in the same file?
>
>
> On Tue, May 15, 2012 at 8:41 PM, Jeremy Lavergne
> <jeremy at lavergne.gotdns.org> wrote:
>>
>> > Hey we are getting somewhere. I renamed .bash_login and .bash_profile to
>> > the same filenames + killed, opened a new terminal and now I have:
>> >
>> > Last login: Tue May 15 20:22:37 on ttys000
>> > You have new mail.
>> >
>> > /opt/subversion/bin:/opt/local/bin:opt/local/sbin:/opt/local/lib/python2.4/site-packages/django/bin:/opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/X11/bin:/usr/X11/bin
>> >
>> > I can now open mate, gedit and the latest Xquartz is used. Gimp 2.8 also
>> > starts and no longer crashed. And MacPorts is back as well! Cool! You are a
>> > genius!
>> >
>> > Only now the installed Ruby RVM does no longer start:
>> >
>> > jaspersmbp:~ jasper$ rvm
>> > -bash: rvm: command not found
>> >
>> > Perhaps when I installed RVM the bash_profile and or bash_login got
>> > messed up...
>>
>> I wouldn't be surprised if RVM is an instigator :-)
>>
>> A dot file that was installed then prevented the reading of the others.
>> You might look at the contents of all the files and combine them (if it
>> makes sense to do so), maybe cleaning up along the way. For example, you had
>> MacPorts path (/opt/local/bin) being set twice in the same file.
>>
>
>
> _______________________________________________
> macports-users mailing list
> macports-users at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
>


More information about the macports-users mailing list