[TxMt] PHP Validation broken in latest update

Walter Lee Davis waltd at wdstudio.com
Sat Mar 17 16:19:16 UTC 2007


On Mar 17, 2007, at 11:44 AM, Allan Odgaard wrote:

> On 17. Mar 2007, at 06:29, Walter Lee Davis wrote:
>
>> I have been using TM for quite a while, and one of my most-used  
>> features is the PHP syntax validation. Immediately after the latest  
>> update (to 1.5.5 (1368)) this stopped working. Instead, I see the  
>> following lines in place of the error / success readout:
>>
>> dyld: ruby Undefined symbols:
>> _rb_attr_get
>> _rb_attr_get
>> _rb_ll2num
>> _rb_num2ll
>> _rb_string_value
>>
>> I have tried updating Ruby to 1.8.6, and downgrading it to 1.8.4. I  
>> have deleted and downloaded a new copy of TM. Nothing helps. I am on  
>> 10.3.9 + all patches.
>>
>> Has anyone else seen anything like this?
>
> I am 99% sure this is a problem with your ruby binary. The update to  
> PHP’s Validate Syntax was, that it was made to use Ruby.
>
> As for having tried to update your ruby, 1) ensure that your ruby  
> actually works, e.g. by doing ‘ruby -v’ in the Terminal, 2) ensure  
> that TM actually runs your updated ruby see  
> http://macromates.com/textmate/manual/shell_commands#search_path --  
> the Validate Syntax uses shebang, so you don’t want to miss the  
> paragraph marked Important near the bottom.
>
>

I read through the important part twice, and I don't see how it applies  
here. The ruby is working:

Last login: Sat Mar 17 01:15:57 on console
Welcome to Darwin!
gray:~ waltd$ ruby -v
ruby 1.8.4 (2005-12-24) [powerpc-darwin7.9.0]
gray:~ waltd$ which ruby
/usr/local/bin/ruby
gray:~ waltd$ echo $PATH
/usr/local/bin:/usr/local/sbin:/usr/local/mysql:/usr/local/mysql/bin:/ 
usr/local:/usr/local/php5:/usr/local/php5/bin:/bin:/sbin:/usr/bin:/usr/ 
sbin
gray:~ waltd$

Is there something I should adjust in my path, or in the PHP Bundle?

Walter




More information about the textmate mailing list