Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

25 lines (21 sloc) 0.698 kB
# Monkey patch out the create command.
require 'heroku/command/apps'
class Heroku::Command::Apps < Heroku::Command::Base
alias_method :orig_create, :create
# apps:create [NAME]
#
# create a new app. Overridden to default stack to cedar
#
# --addons ADDONS # a comma-delimited list of addons to install
# -b, --buildpack BUILDPACK # a buildpack url to use for this app
# -r, --remote REMOTE # the git remote to create, default "heroku"
# -s, --stack STACK # the stack on which to create the app
#
def create
unless options[:stack]
hputs "Forcing default stack to cedar"
options[:stack] = "cedar"
end
orig_create
end
end
Jump to Line
Something went wrong with that request. Please try again.