[TxMt] 'Documentation for word' command in ruby broken?
Dave Baldwin
dave.baldwin at 3dlabs.com
Tue Oct 10 16:21:45 UTC 2006
On 10 Oct 2006, at 17:12, James Edward Gray II wrote:
> On Oct 10, 2006, at 10:01 AM, Dave Baldwin wrote:
>
>>
>> On 10 Oct 2006, at 14:21, James Edward Gray II wrote:
>>
>>> On Oct 10, 2006, at 5:45 AM, Dave Baldwin wrote:
>>>
>>>> When I try and use the 'Documentation for word' command (control
>>>> h) I now get the error message:
>>>>
>>>> .../lib/web_preview.rb:6 in 'html_header' : undefined method
>>>> url_encode for ERB::Util:Module (No Method Error) from tmp/
>>>> temp_textmate_Qp8b1:19
>>>
>>> This is a sign of a broken Ruby, but you are not the first person
>>> to complain of this. I've just checked in an attempt to
>>> workaround this issue, can you try a bundle checkout and let me
>>> know if this helps:
>>>
>>> http://macromates.com/textmate/manual/bundles#getting_more_bundles
>>>
>>
>> Not sure what I should be checking out.
>
> Change of tactics. Let's do the test without a checkout. If you
> feed these lines to Terminal do you see this output?
>
> $ /usr/bin/ruby -r erb -e 'p url_encode("a test")'
> -e:1: undefined method `url_encode' for main:Object (NoMethodError)
> $ /usr/bin/ruby -r cgi -e 'p CGI.escape("a test")'
> "a+test"
>
Yes.
I also checked out using my own build version of ruby: ruby 1.8.4
(2005-12-24) [powerpc-darwin8.6.0]
Dave.
> James Edward Gray II
>
>
> ______________________________________________________________________
> 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
More information about the textmate
mailing list