This can also be done in a slightly less error-prone fashion:

(cd /opt/dell/crowbar_framework; bundle install --local --quiet)

I prefer that method because you never have to remember to popd, cd -, or do stupid tricks with $PWD and variables, all thanks to the power of subshe