- Install the dependencies.
bundle install
-
In app.rb, configure the following variables accordingly:
TWILIO_ACCOUNT_SID
,TWILIO_AUTH_TOKEN
,TWILIO_PHONE_NUMBER
,TWIML_URL
. -
Start the server and check it out at http://localhost:4567.
ruby app.rb
@mosampaio, would you mind removing the trailing slashes from the route's definitions please?
e.g. https://gist.github.com/mosampaio/0771e1322b81600b09f25737c303f4fb/#file-app-rb-L55