Reputation: 31
I am following this doc to deploy Cloud Foundry on my OSX on VirtualBox - http://docs.cloudfoundry.org/deploying/boshlite/create_a_manifest.html
When executing
./scripts/generate-bosh-lite-dev-manifest
I got the following prints in console:
WangYudeMacBook-Pro:workspace wangyu$ cd cf-release/
WangYudeMacBook-Pro:cf-release wangyu$ ./scripts/generate-bosh-lite-dev-manifest
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require': cannot load such file -- bundler/setup (LoadError)
from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require': cannot load such file -- bundler/setup (LoadError)
from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
Can only target Bosh Lite Director. Please use 'bosh target' before running this script.
Anyone knows what happened? run the script with sudo did not change the result.
Thanks much for the help!
Upvotes: 0
Views: 98
Reputation: 101
Please make sure about this pre-requisite mentioned in the docs:
"It assumes you have already setup BOSH-Lite and targeted the Director."
In order to install bosh lite and target the director, please refer to: https://github.com/cloudfoundry/bosh-lite
I hope that helps.
Upvotes: 0