vagrantとVirtualBox
vagrantとVirtualBoxはどちらもインストール済みで、いざ起動しようとvagrant upと打ち込むと恐らく失敗したのであろう英文が出てきてしまいました。僕はいまノートパソコンでやっているのですが、それに原因があるのでしょうか。vagrantfileの訂正点は直したつもりです。confing.vm.box_versionは本に書いてあった通りにすると1のようになってしまい、もともとの状態で行うと2のようになってしまいます。成功しているのかも分かりません。
1
vagrant up
No usable default provider could be found for your system.
Vagrant relies on interactions with 3rd party systems, known as
"providers", to provide Vagrant with resources to run development
environments. Examples are VirtualBox, VMware, Hyper-V.
The easiest solution to this message is to install VirtualBox, which
is available for free on all major platforms.
If you believe you already have a provider available, make sure itis properly installed and configured. You can see more details about
why a particular provider isn't working by forcing usage with
`vagrant up --provider=PROVIDER`, which should give you a more specific
error message for that particular provider.
2
vagrant up
C:/HashiCorp/Vagrant/embedded/mingw64/lib/ruby/2.4.0/rubygems/requirement.rb:101:in `parse': Illformed requirement ["ox-version"] (Gem::Requirement::BadRequirementError)
from C:/HashiCorp/Vagrant/embedded/mingw64/lib/ruby/2.4.0/rubygems/requirement.rb:131:in `block in initialize'
from C:/HashiCorp/Vagrant/embedded/mingw64/lib/ruby/2.4.0/rubygems/requirement.rb:131:in `map!'
from C:/HashiCorp/Vagrant/embedded/mingw64/lib/ruby/2.4.0/rubygems/requirement.rb:131:in `initialize'
from C:/HashiCorp/Vagrant/embedded/gems/2.2.6/gems/vagrant-2.2.6/lib/vagrant/box_collection.rb:277:in `new'
from C:/HashiCorp/Vagrant/embedded/gems/2.2.6/gems/vagrant-2.2.6/lib/vagrant/box_collection.rb:277:in `block in find'
from C:/HashiCorp/Vagrant/embedded/gems/2.2.6/gems/vagrant-2.2.6/lib/vagrant/box_collection.rb:276:in `map'
from C:/HashiCorp/Vagrant/embedded/gems/2.2.6/gems/vagrant-2.2.6/lib/vagrant/box_collection.rb:276:in `find'
from C:/HashiCorp/Vagrant/embedded/gems/2.2.6/gems/vagrant-2.2.6/lib/vagrant/vagrantfile.rb:201:in `block in machine_config'
from C:/HashiCorp/Vagrant/embedded/gems/2.2.6/gems/vagrant-2.2.6/lib/vagrant/vagrantfile.rb:237:in `machine_config'
from C:/HashiCorp/Vagrant/embedded/gems/2.2.6/gems/vagrant-2.2.6/lib/vagrant/environment.rb:958:in `block in find_configured_plugins'
from C:/HashiCorp/Vagrant/embedded/gems/2.2.6/gems/vagrant-2.2.6/lib/vagrant/environment.rb:956:in `each'
from C:/HashiCorp/Vagrant/embedded/gems/2.2.6/gems/vagrant-2.2.6/lib/vagrant/environment.rb:956:in `find_configured_plugins'
from C:/HashiCorp/Vagrant/embedded/gems/2.2.6/gems/vagrant-2.2.6/lib/vagrant/environment.rb:983:in `process_configured_plugins'
from C:/HashiCorp/Vagrant/embedded/gems/2.2.6/gems/vagrant-2.2.6/lib/vagrant/environment.rb:178:in `initialize'
from C:/HashiCorp/Vagrant/embedded/gems/2.2.6/gems/vagrant-2.2.6/bin/vagrant:145:in `new'
from C:/HashiCorp/Vagrant/embedded/gems/2.2.6/gems/vagrant-2.2.6/bin/vagrant:145:in `<main>'
お礼
大変参考になりました。 有難う御座います。