Xquartz 2.5.0

Jasper Frumau jasperfrumau at gmail.com
Tue May 15 06:51:17 PDT 2012


.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.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20120515/3ef7c1fe/attachment.html>


More information about the macports-users mailing list