I am trying to develop a Rails2 'engine', with the engines plugin. Can an engine plugin not be a gem? Everything works fine if my engines plugin is actually a plugin. But if I try to make it a gem-plugin instead, when trying to resolve assets in the plugin, I get this following error. Which seems to have no google hits. Any hints? undefined method `public_asset_directory' /home/rochkind/empty/vendor/plugins/blacklight/vendor/plugins/engines/lib/engines/rails_extensions/asset_helpers.rb:112:in `plugin_asset_path' /home/rochkind/empty/vendor/plugins/blacklight/vendor/plugins/engines/lib/engines/rails_extensions/asset_helpers.rb:104:in `pluginify_sources' /home/rochkind/empty/vendor/plugins/blacklight/vendor/plugins/engines/lib/engines/rails_extensions/asset_helpers.rb:104:in `map!' /home/rochkind/empty/vendor/plugins/blacklight/vendor/plugins/engines/lib/engines/rails_extensions/asset_helpers.rb:104:in `pluginify_sources' /home/rochkind/empty/vendor/plugins/blacklight/vendor/plugins/engines/lib/engines/rails_extensions/asset_helpers.rb:72:in `javascript_include_tag'
on 2010-07-23 01:54
Please log in before posting. Registration is free and takes only a minute.
Existing account
(Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
Log in with Google account | Log in with Yahoo account
No account? Register here.