Skip to content

Instantly share code, notes, and snippets.

@nakajima
Created January 18, 2011 18:38
Show Gist options
  • Select an option

  • Save nakajima/784906 to your computer and use it in GitHub Desktop.

Select an option

Save nakajima/784906 to your computer and use it in GitHub Desktop.
heroku production command wrapper thing
#!/usr/bin/env ruby
require 'readline'
loop do
command = Readline.readline('> ')
command == "exit" && exit
puts "heroku #{command} --remote production"
system("heroku #{command} --remote production")
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment