0

好的,所以按照此处列出的步骤设置 VCAP 实例。我在 Ubuntu DIRECTLY 新配置的 Ubuntu 10.04 云 AMI 上运行它(所以它是 vanilla)。服用 FOREVER 后,我收到一条成功消息,并立即尝试使用说明中给出的启动命令启动实例。当我运行它时,我得到以下信息:

Targeting deployment "devbox" with cloudfoundry home "/home/vcap/cloudfoundry"
Setting up cloud controller environment
Setting up the uaa environment
Using cloudfoundry config from /home/vcap/cloudfoundry/.deployments/devbox/config
Executing /home/vcap/cloudfoundry/.deployments/devbox/deploy/rubies/ruby-1.9.2-p180/bin/ruby /home/vcap/cloudfoundry/vcap/dev_setup/bin/vcap start cloud_controller mongodb_node health_manager rabbitmq_node mongodb_gateway mysql_node redis_gateway uaa vblob_node filesystem_gateway mysql_gateway vblob_gateway stager dea rabbitmq_gateway postgresql_gateway router redis_node postgresql_node -c /home/vcap/cloudfoundry/.deployments/devbox/config -v /home/vcap/cloudfoundry -l /home/vcap/cloudfoundry/.deployments/devbox/log
/home/vcap/cloudfoundry/.deployments/devbox/deploy/rubies/ruby-1.9.2-p180/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb:1637:in `raise_if_conflicts': Unable to activate nats-0.4.28, because eventmachine-1.0.0 conflicts with eventmachine (= 0.12.10) (Gem::LoadError)
    from /home/vcap/cloudfoundry/.deployments/devbox/deploy/rubies/ruby-1.9.2-p180/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb:746:in `activate'
    from /home/vcap/cloudfoundry/.deployments/devbox/deploy/rubies/ruby-1.9.2-p180/lib/ruby/site_ruby/1.9.1/rubygems.rb:212:in `rescue in try_activate'
    from /home/vcap/cloudfoundry/.deployments/devbox/deploy/rubies/ruby-1.9.2-p180/lib/ruby/site_ruby/1.9.1/rubygems.rb:209:in `try_activate'
    from /home/vcap/cloudfoundry/.deployments/devbox/deploy/rubies/ruby-1.9.2-p180/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:59:in `rescue in require'
    from /home/vcap/cloudfoundry/.deployments/devbox/deploy/rubies/ruby-1.9.2-p180/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:35:in `require'
    from /home/vcap/cloudfoundry/vcap/dev_setup/bin/vcap:13:in `<main>'

有没有人有任何想法?坦率地说,这个错误让我感到困惑......

4

1 回答 1

2

大约一个小时前解决了一个 gem 冲突,有关此问题的更多信息,请查看https://github.com/cloudfoundry/vcap/commit/8a513847518f5d4bedc314bcc52b372763d6de3e

于 2012-09-24T12:46:59.140 回答