<% num = 99 while num > 0 %>

<%= num %> bottles of beer on the wall,
<%= num %> bottles of beer.
Take one down, pass it around,
<%= num - 1 %> bottles of beer on the wall.

<% num = num - 1 end %>