I know that bundle install --deployment
should be run only on production server.
Should I add "vendor/bundle" to .gitignore?
I know that bundle install --deployment
should be run only on production server.
Should I add "vendor/bundle" to .gitignore?
You don't need to as it should be symlinked on deployment to a shared directory. More details in the deployment sub-section of this blog post http://yehudakatz.com/2010/07/26/whats-new-in-bundler-1-0-0-rc-1/