I want to convert rails plugin into gem.
Is there any way to make gem to auto add rake tasks and capistrano recipes when mentioned in environment.rb using config.gem command?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
As tadman said, you cannot do it. However, you can either install a plugin or ask the user to require your tasks in the Rakefile, as collectiveidea-delayed_job does.