I'm getting the following stack trace when I select the 'Install Plugin' command in the Rails bundle:
/Users/scott/Library/Application Support/TextMate/Pristine Copy/Bundles/Rails.tmbundle/Support/lib/rails/text_mate.rb:69:in `method_missing': undefined method `filepath' for TextMate:Module (NoMethodError) from /Users/scott/Library/Application Support/TextMate/Pristine Copy/Bundles/Rails.tmbundle/Support/lib/rails/rails_path.rb:43:in `initialize' from /Users/scott/Library/Application Support/TextMate/Pristine Copy/Bundles/Rails.tmbundle/Support/bin/list_plugins.rb:25:in `new' from /Users/scott/Library/Application Support/TextMate/Pristine Copy/Bundles/Rails.tmbundle/Support/bin/list_plugins.rb:25
I'm using 'cuting edge' Textmate 1.5.4 (1360). I've attempted this with both the distributed Rails bundle, and the version in svn (via the GetBundle bundle).
I'm running ruby version 1.8.5 (2006-12-25 patchlevel 12) [i686-darwin8.8.1], installed via mac ports. I'm running Rails 1.2.2.
My apologies if this is already answered in the mailing lists; I couldn't find any mention of this in the march or february archies, and a few different google searches involving 'filepath textmate' don't bring back anything interesting.
Many thanks for your help.
-Scott
On 4. Mar 2007, at 05:10, Scott Haug wrote:
I'm getting the following stack trace when I select the 'Install Plugin' command in the Rails bundle:
/Users/scott/Library/Application Support/TextMate/Pristine Copy/ Bundles/Rails.tmbundle/Support/lib/rails/text_mate.rb:69:in `method_missing': undefined method `filepath' for TextMate:Module (NoMethodError) from /Users/scott/Library/Application Support/ TextMate/Pristine Copy/Bundles/Rails.tmbundle/Support/lib/rails/ rails_path.rb:43:in `initialize' from /Users/scott/Library/ Application Support/TextMate/Pristine Copy/Bundles/Rails.tmbundle/ Support/bin/list_plugins.rb:25:in `new' from /Users/scott/Library/ Application Support/TextMate/Pristine Copy/Bundles/Rails.tmbundle/ Support/bin/list_plugins.rb:25
From analyzing the code, this would happen if you call Install Plugin from an untitled document. Could that be it? I.e. what happens if you open a file in your Rails project, and select the command?
On 3/4/07, Allan Odgaard throw-away-1@macromates.com wrote:
On 4. Mar 2007, at 05:10, Scott Haug wrote:
I'm getting the following stack trace when I select the 'Install Plugin' command in the Rails bundle:
/Users/scott/Library/Application Support/TextMate/Pristine Copy/ Bundles/Rails.tmbundle/Support/lib/rails/text_mate.rb:69:in `method_missing': undefined method `filepath' for TextMate:Module (NoMethodError) from /Users/scott/Library/Application Support/ TextMate/Pristine Copy/Bundles/Rails.tmbundle/Support/lib/rails/ rails_path.rb:43:in `initialize' from /Users/scott/Library/ Application Support/TextMate/Pristine Copy/Bundles/Rails.tmbundle/ Support/bin/list_plugins.rb:25:in `new' from /Users/scott/Library/ Application Support/TextMate/Pristine Copy/Bundles/Rails.tmbundle/ Support/bin/list_plugins.rb:25
From analyzing the code, this would happen if you call Install Plugin from an untitled document. Could that be it? I.e. what happens if you open a file in your Rails project, and select the command?
That would make sense, wouldn't it? Yeah, installing the plugin in an actual working rails project did the trick.
Thanks,
-Scott