Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This method is incredibly unsatisfactory, please see: * jimweirich/rake#81 for more discussion about this issue.
- Loading branch information
1 parent
c11cfec
commit bd6ff00
Showing
2 changed files
with
10 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -1,3 +1,5 @@ | |||
require 'capistrano/fix_rake_deprecated_dsl' | |||
|
|||
require 'capistrano/configuration' | require 'capistrano/configuration' | ||
require 'capistrano/extensions' | require 'capistrano/extensions' | ||
require 'capistrano/ext/string' | require 'capistrano/ext/string' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,8 @@ | |||
# | |||
# See https://github.com/jimweirich/rake/issues/81 | |||
# | |||
if defined?(Rake::DeprecatedObjectDSL) | |||
Rake::DeprecatedObjectDSL.private_instance_methods.each do |m| | |||
Rake::DeprecatedObjectDSL.send("undef_method", m) | |||
end | |||
end |