Permalink
Browse files

Add git instructions to deploy page

  • Loading branch information...
indirect committed Apr 6, 2010
1 parent 3f64a09 commit 0fefbb7aeaa958693ba5d612da431eafc4e8871c
Showing with 11 additions and 2 deletions.
  1. +11 −2 src/pages/deploy.haml
View
@@ -8,9 +8,18 @@
dependency versions will no longer change.
:highlight_plain
$ bundle lock
- $ git add Gemfile.lock
= link("Learn more: bundle lock", "bundle_lock.html")
-
+
+ .bullet
+ .description
+ Add your Gemfile and lockfile to source control,
+ but ignore the .bundle folder, which is specific
+ to each machine.
+ :highlight_plain
+ $ echo ".bundle\n" >> .gitignore
+ $ git add Gemfile Gemfile.lock .gitignore
+ $ git commit -m "Add bundler"
+
.bullet
.description
In your deploy script, after updating to the latest

0 comments on commit 0fefbb7

Please sign in to comment.