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