An erb-shellscript executor


Install it yourself as:

$ gem install rbish


Just give the filename of your shellscript to rbish.

$ rbish myscript.sh

rbish can take strings from STDIN as well.

$ rbish < myscript.sh

You can use ERB in your shellscript whereever you like.

$ cat myscript.sh
<% (1..10).each do |i| %>
sudo arping -c 1 <%= "" % i %>
<% end %>


  1. Fork it ( http://github.com/suu-g/rbish/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request