update docs a bit
This commit is contained in:
parent
64d4b5a323
commit
423fb66175
15
README.md
15
README.md
|
@ -37,6 +37,14 @@ gem 'rails', '3.2.3'
|
||||||
# gem 'rack-rewrite'
|
# gem 'rack-rewrite'
|
||||||
gems 'rake', 'nokogiri', 'rack-rewrite'
|
gems 'rake', 'nokogiri', 'rack-rewrite'
|
||||||
|
|
||||||
|
# define custom gem properties that get expanded to ones bundler understands
|
||||||
|
property :github, :git => 'git://github.com/$1/%s.git'
|
||||||
|
# values to the key are [ value ].flatten-ed and the $s are replaced on the fly,
|
||||||
|
# with $1 being the first parameter given
|
||||||
|
|
||||||
|
# set up defaults for all gems in a particular environment
|
||||||
|
defaults_for env(:local), :path => '../%s' # the %s is the name of the gem
|
||||||
|
|
||||||
no_deployment do
|
no_deployment do
|
||||||
group :development, :test do
|
group :development, :test do
|
||||||
gem 'rspec', '~> 2.6.0'
|
gem 'rspec', '~> 2.6.0'
|
||||||
|
@ -46,9 +54,6 @@ no_deployment do
|
||||||
# set up defaults for certain gems that are probably being used in envs
|
# set up defaults for certain gems that are probably being used in envs
|
||||||
defaults_for dev_gems, :require => nil
|
defaults_for dev_gems, :require => nil
|
||||||
|
|
||||||
# set up defaults for all gems in a particular environment
|
|
||||||
defaults_for env(:local), :path => '../%s' # the %s is the name of the gem
|
|
||||||
|
|
||||||
env :local do
|
env :local do
|
||||||
# expands to:
|
# expands to:
|
||||||
#
|
#
|
||||||
|
@ -62,7 +67,7 @@ no_deployment do
|
||||||
#
|
#
|
||||||
# gem 'flowerbox', :git => 'git://github.com/johnbintz/flowerbox.git', :require => nil
|
# gem 'flowerbox', :git => 'git://github.com/johnbintz/flowerbox.git', :require => nil
|
||||||
# gem 'guard-flowerbox', :git => 'git://github.com/johnbintz/guard-flowerbox.git', :require => nil
|
# gem 'guard-flowerbox', :git => 'git://github.com/johnbintz/guard-flowerbox.git', :require => nil
|
||||||
gems dev_gems, :git => 'git://github.com/johnbintz/%s.git'
|
gems dev_gems, :github => 'johnbintz'
|
||||||
end
|
end
|
||||||
|
|
||||||
# only expanded on Mac OS X
|
# only expanded on Mac OS X
|
||||||
|
@ -122,7 +127,7 @@ shouldn't be changing the main versions of your application gems. It WORKSFORME
|
||||||
### Getting local gems all set up
|
### Getting local gems all set up
|
||||||
|
|
||||||
`penchant bootstrap` will go through and find all git repo references in your `Gemfile.penchant` and
|
`penchant bootstrap` will go through and find all git repo references in your `Gemfile.penchant` and
|
||||||
will download them to the specified directory (by default, '..'). This means blocks like this
|
will download them to the specified directory (by default, `..`). This means blocks like this
|
||||||
will work as expected when you `penchant bootstrap` and then `penchant gemfile local`:
|
will work as expected when you `penchant bootstrap` and then `penchant gemfile local`:
|
||||||
|
|
||||||
``` ruby
|
``` ruby
|
||||||
|
|
Loading…
Reference in New Issue