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 has worked in the past and the only thing that I believe has changed since it was working is the version of Textmate (now at 1.5.3 (1258)).
Nothing in the svn bundle logs on the RSS feed looked like it related to this. I have removed all my customization by getting rid of the Bundles folder in ~/Library/Application Support/TextMate with no effect and there is no TextMate folder in /Library/ Application Support.
Dave.
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
James Edward Gray II
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. I have tried, but get errors:
~> cd /Library/Application\ Support/TextMate/Bundles /Library/Application Support/TextMate/Bundles> svn --username anon -- password anon co \ http://macromates.com/svn/Bundles/trunk/Bundles/? http:// macromates.com/svn/Bundles/trunk/Bundles/Ruby.tmbundle svn: REPORT request failed on '/svn/Bundles/!svn/vcc/default' svn: REPORT of '/svn/Bundles/!svn/vcc/default': 400 Bad Request (http://macromates.com)
Looked at the RSS feed to see what has changed then tried:
/Library/Application Support/TextMate/Bundles> svn --username anon -- password anon co http://macromates.com/svn/Bundles/trunk/Support/lib/ web_preview.rb svn: URL 'http://macromates.com/svn/Bundles/trunk/Support/lib/ web_preview.rb' refers to a file, not a directory
/Library/Application Support/TextMate/Bundles> svn --username anon -- password anon co http://macromates.com/svn/Bundles/trunk/Support/lib svn: REPORT request failed on '/svn/Bundles/!svn/vcc/default' svn: REPORT of '/svn/Bundles/!svn/vcc/default': 400 Bad Request (http://macromates.com) /Library/Application Support/TextMate/Bundles>
Dave.
James Edward Gray II
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
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"
James Edward Gray II
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@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
On Oct 10, 2006, at 11:21 AM, Dave Baldwin wrote:
Yes.
I also checked out using my own build version of ruby: ruby 1.8.4 (2005-12-24) [powerpc-darwin8.6.0]
Yeah, that wasn't the actual code in the module.
I just realized that I fixed this once before. ;) Last time someone complained I used a different workaround.
It's in the latest version of TextMate (1269), so if you update to a "cutting edge" release, your problems will go away.
James Edward Gray II
On 10 Oct 2006, at 17:35, James Edward Gray II wrote:
On Oct 10, 2006, at 11:21 AM, Dave Baldwin wrote:
Yes.
I also checked out using my own build version of ruby: ruby 1.8.4 (2005-12-24) [powerpc-darwin8.6.0]
Yeah, that wasn't the actual code in the module.
I just realized that I fixed this once before. ;) Last time someone complained I used a different workaround.
It's in the latest version of TextMate (1269), so if you update to a "cutting edge" release, your problems will go away.
They have - thanks.
Dave.
James Edward Gray II
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