Great idea
unfortunately, I get the same result...
CLS
On 4/24/07, Alex Ross alex.j.ross@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:
- created a ~/.bash_profile with
[ -f /etc/profile ] && . /etc/profile
[ -f ~/.bashrc ] && . ~/.bashrc
export PATH="$HOME/bin:/opt/local/bin:$PATH"
Set the default shell on the computer to be bash
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@tidbits.com wrote:
On 4/23/07 7:01 PM, in article fa09ca6d0704231901l8dea2e3n46d3ffa049dda2b4@mail.gmail.com, "charles snyder" <clsnyder@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@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@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@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@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate