我正在尝试使用 magento 的虚拟化开发环境启动并运行,但遇到了一些障碍。
我找到了这本 magento 食谱,但目前它抛出了一个错误,我基于 lucid32 框:http: //community.opscode.com/cookbooks/magento
[Fri, 27 Apr 2012 19:21:51 +0100] DEBUG: Loading cookbook windows's library file: /tmp/vagrant-chef-1/chef-solo-1/cookbooks/windows/libraries/ruby_19_patches.rb
[Fri, 27 Apr 2012 19:21:51 +0100] ERROR: Running exception handlers
[Fri, 27 Apr 2012 19:21:51 +0100] ERROR: Exception handlers complete
[Fri, 27 Apr 2012 19:21:51 +0100] DEBUG: Re-raising exception: LoadError - no such file to load -- win32/open3
做了更多的搜索并遇到了这个 - 实际上我认为它使用的是木偶,而不是厨师 - 但我目前没有偏好,特别是如果两者都是免费的。
https://github.com/tonigrigoriu/magento-cookbooks/blob/master/Vagrantfile
我运行它,并遇到以下错误:
The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!
mount -t vboxsf -o uid=`id -u vagrant`,gid=`id -g vagrant` v-csc-1 /tmp/vagrant-chef-1/chef-solo-1/cookbooks
我确实在注释掉该config.vm.network("33.33.33.33")
行的 Vagrant 文件中进行了一项更改。
也许我希望这种配置比我应该的要容易一些,特别是考虑到我是开发人员而不是开发人员,但是如果那里有任何厨师/木偶食谱得到相对良好的支持和维护,那就太棒了如果有人能指出我正确的方向。
谢谢!