Skip to content

Commit

Permalink
Fixes refinery#1359 by defaulting --heroku to a blank string instead …
Browse files Browse the repository at this point in the history
…of a nil which on some systems was putting 'heroku' instead.
  • Loading branch information
parndt committed Mar 23, 2012
1 parent ef118af commit 358676c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/lib/generators/refinery/cms/cms_generator.rb
Expand Up @@ -6,7 +6,7 @@ class CmsGenerator < Rails::Generators::Base
:desc => "Update an existing Refinery CMS based application"
class_option :fresh_installation, :type => :boolean, :aliases => nil, :group => :runtime, :default => false,
:desc => "Allow Refinery to remove default Rails files in a fresh installation"
class_option :heroku, :type => :string, :default => nil, :group => :runtime, :banner => 'APP_NAME',
class_option :heroku, :type => :string, :default => '', :group => :runtime, :banner => 'APP_NAME',
:desc => "Deploy to Heroku after the generator has run."
class_option :stack, :type => :string, :default => 'cedar', :group => :runtime,
:desc => "Specify which Heroku stack you want to use. Requires --heroku option to function."
Expand Down

0 comments on commit 358676c

Please sign in to comment.