From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Anne G Newsgroups: gmane.emacs.help Subject: Re: can one run tk/Ruby gui code from an emacs shell with compile? Date: Sat, 19 Nov 2005 12:19:39 -0500 (EST) Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Trace: sea.gmane.org 1132420935 23290 80.91.229.2 (19 Nov 2005 17:22:15 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 19 Nov 2005 17:22:15 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Nov 19 18:22:06 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EdWOC-0006nr-GG for geh-help-gnu-emacs@m.gmane.org; Sat, 19 Nov 2005 18:20:36 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EdWOB-0000oz-9n for geh-help-gnu-emacs@m.gmane.org; Sat, 19 Nov 2005 12:20:35 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EdWNI-0000nz-Jz for help-gnu-emacs@gnu.org; Sat, 19 Nov 2005 12:19:40 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EdWNH-0000nR-Vq for help-gnu-emacs@gnu.org; Sat, 19 Nov 2005 12:19:40 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EdWNH-0000nO-SN for help-gnu-emacs@gnu.org; Sat, 19 Nov 2005 12:19:39 -0500 Original-Received: from [140.247.94.230] (helo=wjh1.wjh.harvard.edu) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EdWNH-0000ZN-S8 for help-gnu-emacs@gnu.org; Sat, 19 Nov 2005 12:19:40 -0500 Original-Received: from localhost (anne@localhost) by wjh1.wjh.harvard.edu (8.11.7p2/8.11.6) with ESMTP id jAJHJdA06539 for ; Sat, 19 Nov 2005 12:19:39 -0500 (EST) Original-To: X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:31173 Archived-At: > > PATH=/usr/bin:/bin:/usr/sbin:/sbin:/Users/anne:/usr/local/bin:/usr/ > > X11R6/bin > > Yes, because PATH still starts with /usr/bin:/bin, so Apple's ruby in > /usr/bin is found first. I did not think it mattered since I had taken out the two ruby 1.6 directories. I practiced your command on the terminal echo $PATH /usr/local/bin:/usr/local/bin:/usr/local/bin:/bin:/sbin:/usr/bin:/usr/sbin as you can see, it works and reworks. in the emacs shell command echo $SHELL does give me /bin/bash but the command export usr/bin:/bin:/usr/sbin:/sbin:/Users/anne:/usr/local/bin:/usr/X11R6/bin has no effect. The beginning is set in etc/profile, but I don't know how to overide the write protect. > To create the empty directory: mkdir ~/.MacOSX > > Then in Emacs open in that directory (C-x d, position the cursor, f) > the file (C-x f) environment.plist and insert this: PATH /usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11R6/bin (I removed the paths which I could not find on my computer) I rebooted the computer, and echo $PATH echoed what I have just put into environment.plist. I tried compiling my snipet from emacs, and this time, it compiled!!!!!!!!!!!!!! I don't know if anything else will be having trouble finding a path. But this demonstrate for sure that the problem is the path. > > I looked in my panther book at all the bash environment > > variables, but I have no clue as to what to do. Sorry. Looking at the dev site, I had no clue this text above in environment.plist was the code to put in. I am a little lost. Do I need to report a bug? If so what information do I need to give as to the fix? The one about changing the path with environment.plist? Thank you for getting me through with this Anne