[TxMt] Re: error messages
charles snyder
clsnyder at gmail.com
Tue Apr 24 17:15:09 UTC 2007
Great idea
unfortunately, I get the same result...
CLS
On 4/24/07, Alex Ross <alex.j.ross at gmail.com> wrote:
>
> charles, if you create a new user account and try a simple python or ruby
> file in textmate does it work?
> On Apr 24, 2007, at 8:53 AM, charles snyder wrote:
>
> Thanks
>
> In both cases (w + wo shebang):
>
> /bin/bash: line 4: Tue Apr 24 10:23:28 CDT 2007 /usr/local/bin/ruby:
>
> I did read and try the page Alex referenced above, and did the following:
>
> 1. created a ~/.bash_profile with
>
> [ -f /etc/profile ] && . /etc/profile
>
> [ -f ~/.bashrc ] && . ~/.bashrc
>
> export PATH="$HOME/bin:/opt/local/bin:$PATH"
>
> 2. Set the default shell on the computer to be bash
>
> 3. I did not yet try the ~/.MacOSX/environment.plist <http://developer.apple.com/documentation/MacOSX/Conceptual/BPRuntimeConfig/Articles/EnvironmentVars.html#//apple_ref/doc/uid/20002093-113982> but will do that next
>
> I installed ruby 1.8.5 via darwin ports, but did not delete the 'factory' ruby previously present, but
> ruby -v gives 1.8.2
> In the terminal (or iterm) I can do sudo gem install fastercsv, and it works, then if I irb> require 'faster_csv'
>
> it can't find it.
> However, running
> print "Hi there" from temp.py in Textmate gives me:
>
> /bin/bash: line 4: Tue Apr 24 10:23:28 CDT 2007 /usr/local/bin/ruby:
>
> (yes, it says ruby)
>
>
> I may try to
>
> Plan A : reinstall textmate
> Plan B: reinstall tiger osx + shoot self
>
>
>
> On 4/24/07, Matt Neuburg <matt at tidbits.com> wrote:
> >
> > On 4/23/07 7:01 PM, in article
> > fa09ca6d0704231901l8dea2e3n46d3ffa049dda2b4 at mail.gmail.com, "charles
> > snyder"
> > <clsnyder at gmail.com > wrote:
> >
> > > I can run programs from the command line (with some weird behavior)
> >
> > Well, personally, I'm mystified.
> >
> > I guess what I'd like to know is:
> >
> > (1) what happens if you make a new TextMate doc, type
> >
> > puts "hello"
> >
> > type shift-control-option-R 2 (to change it to Ruby) and command-R
> >
> > (2) what happens if you add a shebang line at the start and do the same
> >
> > (3) what weird behavior at the command line? Can you give an example?
> > What
> > happens if you just say ruby --version?
> >
> > m.
> > --
> > matt neuburg, phd = matt at tidbits.com, <http://www.tidbits.com/matt/>
> > A fool + a tool + an autorelease pool = cool!
> > AppleScript: the Definitive Guide - Second Edition!
> > <http://www.amazon.com/gp/product/0596102119>
> >
> >
> >
> >
> > ______________________________________________________________________
> > For new threads USE THIS: textmate at lists.macromates.com
> > (threading gets destroyed and the universe will collapse if you don't)
> > http://lists.macromates.com/mailman/listinfo/textmate
> >
>
>
> ______________________________________________________________________
> For new threads USE THIS: textmate at lists.macromates.com
> (threading gets destroyed and the universe will collapse if you don't)
> http://lists.macromates.com/mailman/listinfo/textmate
>
>
>
>
> ______________________________________________________________________
> For new threads USE THIS: textmate at lists.macromates.com
> (threading gets destroyed and the universe will collapse if you don't)
> http://lists.macromates.com/mailman/listinfo/textmate
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macromates.com/textmate/attachments/20070424/9540c564/attachment.html>
More information about the textmate
mailing list