If you did not need any credentials to get to this page

gem sources -a <%= url "/" %>
If you needed some credentials to get to this page
gem sources -a <%= url.to_s.gsub('://','://username:password@') %>
<% if @allow_upload %> and then ...
gem install geminabox
gem inabox [gemfile]
<% end %>

<% if @gems.any? %> <% if @allow_upload %>">Upload Another Gem<% end %>
<%= ("a".."z").map{|i| @index_gems.include?(i) ? "#{i}" : i }.join(" - ") %>
<% end %> <% if @allow_upload %>">Upload Another Gem<% end %>