bundler - How can I add gems to my vendor/cache directory in a Rails 3 app? -


i use engineyard, , have deployment failing. getting message:

some gems seem missing vendor/cache directory. not find rspec-core-2.6.0.rc2 in of sources 

how make sure gems in directory?

bundler ships command explicitly creates cache

bundle package 

after you've done bundle install check , keep vendor/cache directory date.

if want install gems on machine without checking on rubygems, run

bundle install --local 

however, beware, if upgrading gems (like every time subrelease of rails comes out), vendor/cache can grow.

my current project's git repository 80mb, of more 30mb data stored in vendor/cache.

it seemed idea speed deploys, overall made our repository bigger.


Comments

Popular posts from this blog

c# - how to write client side events functions for the combobox items -

exception - Python, pyPdf OCR error: pyPdf.utils.PdfReadError: EOF marker not found -