Skip to content

Instantly share code, notes, and snippets.

@timothyandrew
Created September 13, 2013 19:13
Show Gist options
  • Save timothyandrew/6554822 to your computer and use it in GitHub Desktop.
Save timothyandrew/6554822 to your computer and use it in GitHub Desktop.
x = "Akshay Gupta <kitallis@nilenso.com>, Aninda Kundu <aninda@nilenso.com>, Asif Kalam <asif@nilenso.com>, Jasim <jasim@nilenso.com>, Jithu Gopal <jithu@nilenso.com>, Neha Kumari <neha@nilenso.com>, Nivedita <nid@nilenso.com>, Nivedita Priyadarshini <nid@nilenso.com>, Prashant Karpe <prashant@nilenso.com>, Srihari Sriraman <srihari@nilenso.com>, Srushti Ambekallu <srushti@nilenso.com>, Steven Deobald <steven@nilenso.com>, Tejas Dinkar <tejas@nilenso.com>"
x.scan(/\<([^>]+)\>/).flatten.each do |str|
system "heroku sharing:add -r production #{str}"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment