"Vendor Everything" still applies
-
Upload
ryan-mcgeary -
Category
Technology
-
view
1.462 -
download
0
description
Transcript of "Vendor Everything" still applies
“Vendor Everything”Still Applies
Ryan McGearyhttp://ryan.mcgeary.org
@rmm5t
vendor/g
ems
config.g
em
WHY?
Check in your.rvmrc
rvm ruby-1.9.2
RVM Gemsets Are Overrated
Let Bundler Follow the --path
$ bundle install --path vendor$ echo 'vendor/ruby' >> .gitignore
Package Your Gems in vendor/cache
$ bundle package
Help!
alias b="bundle"alias bi="b install --path vendor"alias bu="b update"alias be="b exec"alias binit="bi && b package && ignore_vendor_ruby"
.!"" .gitignore!"" .rvmrc!"" Gemfile!"" Gemfile.lock#"" vendor !"" cache $ !"" coffee-script-2.2.0.gem $ !"" coffee-script-source-1.1.0.gem $ !"" execjs-0.4.0.gem $ #"" multi_json-1.0.2.gem #"" ruby #"" 1.9.1 !"" bin !"" cache !"" doc !"" gems #"" specifications
.!"" .gitignore!"" .rvmrc!"" Gemfile!"" Gemfile.lock#"" vendor !"" cache $ !"" coffee-script-2.2.0.gem $ !"" coffee-script-source-1.1.0.gem $ !"" execjs-0.4.0.gem $ #"" multi_json-1.0.2.gem #"" ruby #"" 1.9.1 !"" bin !"" cache !"" doc !"" gems #"" specifications
.!"" .gitignore!"" .rvmrc!"" Gemfile!"" Gemfile.lock#"" vendor !"" cache $ !"" coffee-script-2.2.0.gem $ !"" coffee-script-source-1.1.0.gem $ !"" execjs-0.4.0.gem $ #"" multi_json-1.0.2.gem #"" ruby #"" 1.9.1 !"" bin !"" cache !"" doc !"" gems #"" specifications
.!"" .gitignore!"" .rvmrc!"" Gemfile!"" Gemfile.lock#"" vendor !"" cache $ !"" coffee-script-2.2.0.gem $ !"" coffee-script-source-1.1.0.gem $ !"" execjs-0.4.0.gem $ #"" multi_json-1.0.2.gem #"" ruby #"" 1.9.1 !"" bin !"" cache !"" doc !"" gems #"" specifications
bundle ins
tall --pat
h vendor
.!"" .gitignore!"" .rvmrc!"" Gemfile!"" Gemfile.lock#"" vendor !"" cache $ !"" coffee-script-2.2.0.gem $ !"" coffee-script-source-1.1.0.gem $ !"" execjs-0.4.0.gem $ #"" multi_json-1.0.2.gem #"" ruby #"" 1.9.1 !"" bin !"" cache !"" doc !"" gems #"" specifications
bundle pac
kage
Ryan McGearyryan.mcgeary.org @rmm5t [email protected]
McGeary Consulting Group