New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

padrino gen task bad argument parsing #2163

jorgefuertes opened this Issue Nov 29, 2017 · 1 comment


None yet
2 participants

jorgefuertes commented Nov 29, 2017

Do you want to request a feature or report a bug?


What is the current behavior?

$> padrino gen task -n main -d "Just a test task" test
create  tasks/main_a.rake

Generated file has wrong name and description:

namespace :main do
  desc "Just"
  task :a => :environment do
    # This is a custom task.

What is the expected behavior?

create tasks/main_test.rake

Having this file the following content:

namespace :main do
  desc "Just a test task"
  task :test => :environment do
    # This is a custom task.

Which versions of Ruby, Padrino, Sinatra, Rack, OS are you using? Did this work in previous versions?

  • Ruby 2.4.4
  • Padrino v.

But never worked.

@ujifgc ujifgc closed this in 64240fa Dec 9, 2017


This comment has been minimized.


ujifgc commented Dec 9, 2017

Thanks for the report.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment