Skip to content

Instantly share code, notes, and snippets.

@jnunemaker
Created January 30, 2012 22:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jnunemaker/1707098 to your computer and use it in GitHub Desktop.
Save jnunemaker/1707098 to your computer and use it in GitHub Desktop.
Simple script that shows how to create heroku app without command line client
require 'rubygems'
require 'highline/import'
require 'heroku'
require 'pp'
email = ask('Email: ')
password = ask('Password: ') { |q| q.echo = false }
client = Heroku::Client.new(email, password)
pp client.create('<app name>', :stack => 'cedar')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment