2013-11-23 2 views
0

방글라데시를 사용하여 고무로 건축 된 클러스터를 테스트하고 싶습니다. 나는 고무 위키의 지시를 따라하지만 vagrant up staging을 실행할 때 나는 다음과 같은 오류가 발생합니다 :방글라데시에서 고무를 사용할 때 cap 명령을 찾을 수 없습니다.

[staging] -- /vagrant 
[staging] Running provisioner: rubber... 
bundler: command not found: cap 
Install missing gem executables with `bundle install` 
bundler: command not found: cap 
Install missing gem executables with `bundle install` 
bundler: command not found: cap 
Install missing gem executables with `bundle install` 

이 내 방랑 구성입니다 :

Vagrant.configure("2") do |config| 

    config.vm.define :staging do |stg| 
    stg.vm.network :private_network, ip: "192.168.70.10" 

    stg.vm.provision :rubber do |rubber| 
     rubber.rubber_env = 'staging' 

     rubber.rvm_ruby_version = 'ruby-2.0.0-p195' 
    end 
    end 


    # All Vagrant configuration is done here. The most common configuration 
    # options are documented and commented below. For a complete reference, 
    # please see the online documentation at vagrantup.com. 

    # Every Vagrant virtual environment requires a box to build off of. 
    config.vm.box = "precise32" 

    # The url from where the 'config.vm.box' box will be fetched if it 
    # doesn't already exist on the user's system. 
    config.vm.box_url = "http://files.vagrantup.com/precise32.box" 
end 

내 Gemfile에 카피 스트라 노를 가지고가 설치되어 있습니다. 또한 EC2에서 준비 인스턴스를 만들 수 있었지만 왜 그것이 Vagrant와 작동하지 않는지 알 수 없습니다.

답변

1

오늘은 비슷한 문제가있어서 로컬 컴퓨터에 "번들"을 실행하여 작동시킬 수 있습니다.

+0

나는 그것을 했어도 여전히 효과가 없을 것이다. – adivasile

+1

나는 또한 고무 + 방 애자로 일하는 데 어려움을 겪고 있는데, 좋은 의사/가이드와 누락 된 FAQ가있는 것처럼 보입니다. –