Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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

  • Loading branch information...
commit b476d813178206457081b479ff07354299fad7c4 1 parent d9e86aa
@jordimassaguerpla jordimassaguerpla authored
Showing with 4 additions and 0 deletions.
  1. +4 −0 views/layout.erb
View
4 views/layout.erb
@@ -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 %>
Please sign in to comment.
Something went wrong with that request. Please try again.