我正在关注此文档,在VirtualBox上的OSX上部署Cloud Foundry - http://docs.cloudfoundry.org/deploying/boshlite/create_a_manifest.html
执行时
./scripts/generate-bosh-lite-dev-manifest
我在控制台中获得了以下打印件:
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'
只能瞄准Bosh Lite导演。请使用' bosh target'在运行此脚本之前。
有谁知道发生了什么?用sudo运行脚本没有改变结果。
非常感谢你的帮助!
答案 0 :(得分:0)
请确保文档中提到的这一先决条件:
"它假设您已经设置了BOSH-Lite并定位了Director。"
为了安装bosh lite并定位导演,请参考: https://github.com/cloudfoundry/bosh-lite
我希望有所帮助。