Permalink
Browse files

Added bundle package

  • Loading branch information...
1 parent 21a0ccb commit ec641b15fad9a5de78c01b05e5f3f17ca1df8633 @wycats wycats committed Mar 31, 2010
Showing with 30 additions and 3 deletions.
  1. +3 −1 src/layouts/application.haml
  2. +22 −0 src/pages/bundle_package.haml
  3. +1 −0 src/pages/index.haml
  4. +4 −2 src/stylesheets/application.sass
View
4 src/layouts/application.haml
@@ -9,7 +9,7 @@
#header
%a{:href => "index.html"}
%img{:src => "images/bundler.png", :width => "850"}/
- %h1 The best way to manage Ruby applications
+ %h1 The best way to manage your application's dependencies
= yield
#footer
@@ -22,6 +22,8 @@
\/
= link("lock", "bundle_lock.html")
\/
+ = link("package", "bundle_package.html")
+ \/
= link("#setup", "bundler_setup.html")
\/
= link("git", "git.html")
View
22 src/pages/bundle_package.haml
@@ -0,0 +1,22 @@
+%h2 bundle install
+
+.contents
+ .bullet
+ .description
+ Package up all your .gem files in vendor/cache
+ :highlight_plain
+ $ bundle package
+
+ .bullet
+ .description
+ Running bundle install in an application with
+ packaged gems will use the gems in the package
+ and skip connecting to rubygems.org
+ .how
+ :highlight_plain
+ $ bundle install
+ .notes
+ You can use this to avoid a dependency on
+ rubygems.org at deploy time, or if you
+ have private gems that are not in a public
+ repository
View
1 src/pages/index.haml
@@ -69,6 +69,7 @@
Store all of the required gems in your
application. All future installs will get gems
from this cache, bypassing rubygems.org
+ = link("Learn More: bundle package", "bundle_package.html")
:highlight_plain
$ bundle package
View
6 src/stylesheets/application.sass
@@ -39,7 +39,9 @@ img
#header
h1
+ font-size: 26px
text-align: right
+ padding-right: 44px
color: #346B8C
#footer
@@ -113,7 +115,7 @@ h2
+liquid
.bullet:not(:nth-of-type(1))
- border-top: 1px solid #367F73
+ border-top: 1px solid #cee
.bullet:not(:nth-last-of-type(1))
- border-bottom: 1px solid #35658B
+ border-bottom: 1px solid #9cc

0 comments on commit ec641b1

Please sign in to comment.