Permalink
Browse files

write instructions for when there are credentials and when there are not

  • Loading branch information...
1 parent d9e86aa commit b476d813178206457081b479ff07354299fad7c4 @jordimassaguerpla jordimassaguerpla committed Feb 17, 2012
Showing with 4 additions and 0 deletions.
  1. +4 −0 views/layout.erb
View
@@ -9,7 +9,11 @@
<div id="content">
<h1>Gem in a Box</h1>
<p>
+ <small>If you did not need any credentials to get to this page</small>
+ <pre><code>gem sources -a <%= url "/" %></code></pre>
+ <small>If you needed some credentials to get to this page</small>
<pre><code>gem sources -a <%= url.to_s.gsub('://','://username:password@') %></code></pre>
+ <small>and then ...</small>
<pre><code>gem install geminabox<br />gem inabox [gemfile]</code></pre>
</p>
<%= yield %>

0 comments on commit b476d81

Please sign in to comment.