From 66d8886205be1332facc81c7c22ac3c2e11c0fb6 Mon Sep 17 00:00:00 2001 From: John Bintz Date: Wed, 6 Jun 2012 11:28:55 -0400 Subject: [PATCH] another readme tweak --- README.md | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 0868ae7..ef6e8f2 100644 --- a/README.md +++ b/README.md @@ -27,6 +27,11 @@ Yeah, it's a `Gemfile` with some extras: source :rubygems gem 'rails', '3.2.3' +# expands to: +# +# gem 'rake' +# gem 'nokogiri' +# gem 'rack-rewrite' gems 'rake', 'nokogiri', 'rack-rewrite' no_deployment do @@ -36,17 +41,27 @@ no_deployment do dev_gems = %w{flowerbox guard-flowerbox} env :local do + # expands to: + # + # gem 'flowerbox', :path => '../flowerbox' + # gem 'guard-flowerbox', :path => '../guard-flowerbox' gems dev_gems, :path => '../%s' end env :remote do + # expands to: + # + # gem 'flowerbox', :git => 'git://github.com/johnbintz/flowerbox.git' + # gem 'guard-flowerbox', :git => 'git://github.com/johnbintz/guard-flowerbox.git' gems dev_gems, :git => 'git://github.com/johnbintz/%s.git' end + # only expanded on Mac OS X os :darwin do gem 'rb-fsevent' end + # only expanded on Linux os :linux do gems 'rb-inotify', 'ffi' end @@ -54,7 +69,6 @@ no_deployment do end ``` - Use `script/gemfile local` to get at the local ones, and `script/gemfile remote` to get at the remote ones. It then runs `bundle install`.