We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e7ea2d1 commit 92146b2Copy full SHA for 92146b2
lib/rake/application.rb
@@ -88,7 +88,12 @@ def run(argv = ARGV)
88
def init(app_name="rake", argv = ARGV)
89
standard_exception_handling do
90
@name = app_name
91
- args = handle_options argv
+ begin
92
+ args = handle_options argv
93
+ rescue ArgumentError
94
+ # Backword compatibility for capistrano
95
+ args = handle_options
96
+ end
97
collect_command_line_tasks(args)
98
end
99
0 commit comments