Skip to content

Instantly share code, notes, and snippets.

@vlpeng
Created November 7, 2011 18:36
Show Gist options
  • Save vlpeng/1345763 to your computer and use it in GitHub Desktop.
Save vlpeng/1345763 to your computer and use it in GitHub Desktop.
heroku run node -> failed; but local is working
Air:hubot v$ heroku ps
Process State Command
------------ ------------------ ------------------------------
app.1 up for 12m bin/hubot -a campfire -n Hubot
run.1 complete for 12m node
run.2 complete for 14s node
run.3 starting for 17s node
MacBook-Air:hubot v$ heroku run node
Running node attached to terminal... up, run.4
> hubout image me gaga
...
Air:hubot v$ bin/hubot
Loading deploy-local scripts at /Users/v/Desktop/hubot/scripts
Loading hubot core scripts for relative scripts at /Users/v/Desktop/hubot/src/hubot/scripts
Hubot: the Shell.
/^Hubot:?\s*(?:(image|img)( me)? (.*))/i
/^Hubot:?\s*(?:animate me (.*))/i
/^Hubot:?\s*(?:(?:mo?u)?sta(?:s|c)he?(?: me)? (.*))/i
/^Hubot:?\s*(?:help$)/i
/^Hubot:?\s*(?:(?:(satellite|terrain|hybrid)[- ])?map me (.+))/i
/^Hubot:?\s*(?:(calc|calculate|convert|math)( me)? (.*))/i
/^Hubot:?\s*(?:PING$)/i
/^Hubot:?\s*(?:ECHO (.*)$)/i
/^Hubot:?\s*(?:TIME$)/i
/^Hubot:?\s*(?:DIE$)/i
/^Hubot:?\s*(?:who is ([\w .-]+)\?*$)/i
/^Hubot:?\s*(?:([\w .-]+) is (["'\w: ]+)[.!]*$)/i
/^Hubot:?\s*(?:([\w .-]+) is not (["'\w: ]+)[.!]*$)/i
/^Hubot:?\s*(?:(the rules|the laws))/i
/^Hubot:?\s*(?:show storage$)/i
/^Hubot:?\s*(?:show users$)/i
/^Hubot:?\s*(?:(?:translate)(?: me)?(?:(?: from) ([a-z]*))?(?:(?: (?:in)?to) ([a-z]*))? (.*))/i
/^Hubot:?\s*(?:(youtube|yt)( me)? (.*))/i
Loading hubot-scripts from /Users/v/Desktop/hubot/hubot-scripts.json
/^Hubot:?\s*(?:(.*) tweet)/i
Successfully connected to Redis
hubot image me gaga
http://2.bp.blogspot.com/-nOpgHSnHiZM/TpMqqH9VJ1I/AAAAAAAACQk/teniDvOk5Fs/s1600/Lady_Gaga_Pocker_Face_Wallpaper.jpg#.png
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment