gem sources -a <%= url("/") %>
<% if @gems.any? %>
<% @gems.by_name do |name, versions| %>
<% spec = spec_for(name, versions.newest.number) %> <% if spec.is_a?(::Gem::Specification) %> <%= spec.description %> <% end %> <% versions.reverse_each.first(5).each do |version| %>

gem install <%= version.name %> <%= "--prerelease" if version.number.to_s.match(/[a-z]/i) %> -v "<%= version.number %>" <% unless version.platform =~ /^ruby/i %> <%= version.platform %> <% end %>

<% end %>
<% end %>
<% end %>