Forums | MacLife
You are not logged in.
#1 2009-03-18 9:26 am
- Elahrairah
- Member

- From: In front of his macbook.
- Registered: 2003-02-08
- Posts: 559
Macports n00b seeks understanding of profile settings...
Hello, fellow coders, I've used Macports on my machine before to get a good number of libraries for my various coding projects. It was all going swimmingly until I recently ran a script that supposedly changed my 'bash profile' (.profile?) to let me run Ruby and Ruby Gems.
Suddenly my bash doesn't recognize the 'port' command any more. I've run the 'update' script for Macports hoping to reset any settings that I may have wiped out, but still no juice. It reset the path variable in my .profile file, but I still can't port.
Any ideas here?
My understanding of profiles is a real weakness here. For example, if using ports requires a certain path, and using MacPython requires a different path, am I to understand that I can't use both of them at once?
Thanks for your helps!
Good judgement comes from experience,
And experience comes from bad judgement.
Offline
#2 2009-03-18 12:36 pm
- Fracai
- Evacipate

- From: St. Elsewhere
- Registered: 2000-05-25
- Posts: 2835
Re: Macports n00b seeks understanding of profile settings...
Can you post the script? Or a link to it?
You can use both at the same time, but only one will respond to "python" at a time.
I have MacPorts perl and system perl, but because of how my path is set up it's system perl that gets called when I type "perl". To get the other I use the full path.
Offline

