vierundsechzig-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org
2012-Jul-12 14:52 UTC
app-prefix for tasks defined in an engine?!
I have defined a rake task inside an engine like this:
rake app:redmine_config:spec
namespace :my_engine do
desc "say foo"
task :foo do
puts "foo from the engine"
end
end
I expected the task to be available under
rake my_engine:foo
instead I found it under:
rake app:my_engine:foo
Does anybody have an idea where the prefix comes from? Can I change it? Can
I get rid of it?
thx for any help,
stefan
--
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/rubyonrails-talk/-/ZXmbOmB_368J.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en-US.