1
0
Fork 0
mirror of https://github.com/capistrano/capistrano synced 2023-03-27 23:21:18 -04:00

Default parameters work correctly with the generator #2218 [Scott Barron]

git-svn-id: http://svn.rubyonrails.org/rails/tools/switchtower@2266 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
Jamis Buck 2005-09-19 22:12:14 +00:00
parent 0a994f1373
commit db6fb3ed70
2 changed files with 4 additions and 2 deletions

View file

@ -1,5 +1,7 @@
*SVN*
* Default parameters work correctly with the generator #2218 [Scott Barron]
* Attempt to require 'rubygems' explicitly when running the switchtower utility #2134
* Make default tasks work only on app/db/web roles, so that additional roles may be created for boxes with specific needs without needing to (for instance) deploy the app to those boxes

View file

@ -10,8 +10,8 @@ module SwitchTower
:switchtower, File.dirname(__FILE__))
args = ["deployment"]
args << options[:application] || "Application"
args << options[:recipe_file] || "deploy"
args << (options[:application] || "Application")
args << (options[:recipe_file] || "deploy")
Rails::Generator::Scripts::Generate.new.run(args)
end