another readme tweak
This commit is contained in:
parent
b60e60598c
commit
66d8886205
16
README.md
16
README.md
|
@ -27,6 +27,11 @@ Yeah, it's a `Gemfile` with some extras:
|
||||||
source :rubygems
|
source :rubygems
|
||||||
|
|
||||||
gem 'rails', '3.2.3'
|
gem 'rails', '3.2.3'
|
||||||
|
# expands to:
|
||||||
|
#
|
||||||
|
# gem 'rake'
|
||||||
|
# gem 'nokogiri'
|
||||||
|
# gem 'rack-rewrite'
|
||||||
gems 'rake', 'nokogiri', 'rack-rewrite'
|
gems 'rake', 'nokogiri', 'rack-rewrite'
|
||||||
|
|
||||||
no_deployment do
|
no_deployment do
|
||||||
|
@ -36,17 +41,27 @@ no_deployment do
|
||||||
dev_gems = %w{flowerbox guard-flowerbox}
|
dev_gems = %w{flowerbox guard-flowerbox}
|
||||||
|
|
||||||
env :local do
|
env :local do
|
||||||
|
# expands to:
|
||||||
|
#
|
||||||
|
# gem 'flowerbox', :path => '../flowerbox'
|
||||||
|
# gem 'guard-flowerbox', :path => '../guard-flowerbox'
|
||||||
gems dev_gems, :path => '../%s'
|
gems dev_gems, :path => '../%s'
|
||||||
end
|
end
|
||||||
|
|
||||||
env :remote do
|
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'
|
gems dev_gems, :git => 'git://github.com/johnbintz/%s.git'
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# only expanded on Mac OS X
|
||||||
os :darwin do
|
os :darwin do
|
||||||
gem 'rb-fsevent'
|
gem 'rb-fsevent'
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# only expanded on Linux
|
||||||
os :linux do
|
os :linux do
|
||||||
gems 'rb-inotify', 'ffi'
|
gems 'rb-inotify', 'ffi'
|
||||||
end
|
end
|
||||||
|
@ -54,7 +69,6 @@ no_deployment do
|
||||||
end
|
end
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
Use `script/gemfile local` to get at the local ones, and `script/gemfile remote` to get at the remote ones.
|
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`.
|
It then runs `bundle install`.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue