Hi guys, Textmate doesn't seem to catch the correct interpreter, no matter what I do ...
ngw@slicingupeyeballs ~$ irb irb(main):001:0> require 'jcode' => true ngw@slicingupeyeballs ~$ echo $PATH /Users/ngw/bin:/opt/local/bin:/opt/local/sbin:/usr/local/bin:/usr/ local/sbin:/opt/local/lib/postgresql83/bin:/usr/bin:/bin:/usr/sbin:/ sbin:/usr/local/bin:/usr/X11/bin ngw@slicingupeyeballs ~$ which ruby /opt/local/bin/ruby
The error I get when I try to load something in ruby (like the Blogging Bundle fetch posts) is:
ruby: no such file to load -- jcode (LoadError)
I'm stuck ...
TIA, ngw
On Dec 5, 2008, at 8:25 AM, Nicholas Wieland wrote:
Hi guys, Textmate doesn't seem to catch the correct interpreter, no matter what I do ...
Does this help?
http://wiki.macromates.com/Troubleshooting/RubyVersionIssue
James Edward Gray II
Il giorno 05/dic/08, alle ore 15:33, James Gray ha scritto:
On Dec 5, 2008, at 8:25 AM, Nicholas Wieland wrote:
Hi guys, Textmate doesn't seem to catch the correct interpreter, no matter what I do ...
Does this help?
It helps to make me know there's something wrong in there :) If I ctrl+R
#!/bin/sh echo "$PATH"
I get
#!/bin/sh echo "$PATH"/usr/bin:/bin:/usr/sbin:/sbin
also:
ngw@slicingupeyeballs ~$ cat .MacOSX/environment.plist { PATH = "/Users/ngw/bin:/opt/local/bin:/opt/local/sbin:/usr/local/ bin:/usr/local/sbin:/opt/local/lib/postgresql83/bin:/usr/bin:/bin:/usr/ sbin:/sbin:/usr/local/bin:/usr/X11/bin"; } ngw@slicingupeyeballs ~$
Do you have any idea ? When will we have dialogs to set this stuff with a UI ? :p
ngw
On Dec 5, 2008, at 9:24 AM, Nicholas Wieland wrote:
Il giorno 05/dic/08, alle ore 15:33, James Gray ha scritto:
On Dec 5, 2008, at 8:25 AM, Nicholas Wieland wrote:
Hi guys, Textmate doesn't seem to catch the correct interpreter, no matter what I do ...
Does this help?
It helps to make me know there's something wrong in there :) If I ctrl+R
#!/bin/sh echo "$PATH"
I get
#!/bin/sh echo "$PATH"/usr/bin:/bin:/usr/sbin:/sbin
also:
ngw@slicingupeyeballs ~$ cat .MacOSX/environment.plist { PATH = "/Users/ngw/bin:/opt/local/bin:/opt/local/sbin:/usr/local/ bin:/usr/local/sbin:/opt/local/lib/postgresql83/bin:/usr/bin:/bin:/ usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin"; } ngw@slicingupeyeballs ~$
It definitely looks like your PATH var is not set right.
You can set PATH in TextMate's Shell Variables preferences. That's the best way to do it currently…
—Alex