«前の日記(2013-05-20 (Mon)) 最新 次の日記(2013-11-12 (Tue))» 編集

雑記帳


2013-06-11 (Tue) [長年日記]

[Ruby] vagrant on Windowsでエラー

"\xFF" って、このイメージが問題なのかな。ところで、ダウンロードしたファイルはどこにあるんだろう。

$ vagrant box add centos64 http://developer.nrel.gov/downloads/vagrant-boxes/CentOS-6.4-x86_64-v20130427.box
[vagrant] Downloading with Vagrant::Downloaders::HTTP...
[vagrant] Downloading box: http://developer.nrel.gov/downloads/vagrant-boxes/CentOS-6.4-x86_64-v20130427.box
[vagrant] Extracting box...3367377 / 463447459)[vagrant]
[vagrant] Cleaning up downloaded box...
c:/Ruby193/lib/ruby/1.9.1/fileutils.rb:244:in `mkdir': "\xFF" on Windows-31J (Encoding::InvalidByteSequenceError)
        from c:/Ruby193/lib/ruby/1.9.1/fileutils.rb:244:in `fu_mkdir'
        from c:/Ruby193/lib/ruby/1.9.1/fileutils.rb:208:in `block in mkdir_p'
        from c:/Ruby193/lib/ruby/1.9.1/fileutils.rb:205:in `each'
        from c:/Ruby193/lib/ruby/1.9.1/fileutils.rb:205:in `mkdir_p'
        from c:/Ruby193/lib/ruby/gems/1.9.1/gems/archive-tar-minitar-0.5.2/lib/archive/tar/minitar.rb:731:in `extract_entry'
        from c:/Ruby193/lib/ruby/gems/1.9.1/gems/archive-tar-minitar-0.5.2/lib/archive/tar/minitar.rb:973:in `block (2 levels) in unpack'
        from c:/Ruby193/lib/ruby/gems/1.9.1/gems/archive-tar-minitar-0.5.2/lib/archive/tar/minitar.rb:679:in `block in each'
        from c:/Ruby193/lib/ruby/gems/1.9.1/gems/archive-tar-minitar-0.5.2/lib/archive/tar/minitar.rb:614:in `block in each_entry'
        from c:/Ruby193/lib/ruby/gems/1.9.1/gems/archive-tar-minitar-0.5.2/lib/archive/tar/minitar.rb:605:in `loop'
        from c:/Ruby193/lib/ruby/gems/1.9.1/gems/archive-tar-minitar-0.5.2/lib/archive/tar/minitar.rb:605:in `each_entry'
        from c:/Ruby193/lib/ruby/gems/1.9.1/gems/archive-tar-minitar-0.5.2/lib/archive/tar/minitar.rb:587:in `each'
        from c:/Ruby193/lib/ruby/gems/1.9.1/gems/archive-tar-minitar-0.5.2/lib/archive/tar/minitar.rb:679:in `each'
        from c:/Ruby193/lib/ruby/gems/1.9.1/gems/archive-tar-minitar-0.5.2/lib/archive/tar/minitar.rb:971:in `block in unpack'
        from c:/Ruby193/lib/ruby/gems/1.9.1/gems/archive-tar-minitar-0.5.2/lib/archive/tar/minitar.rb:655:in `open'
        from c:/Ruby193/lib/ruby/gems/1.9.1/gems/archive-tar-minitar-0.5.2/lib/archive/tar/minitar.rb:964:in `unpack'
        from c:/Ruby193/lib/ruby/gems/1.9.1/gems/vagrant-1.0.7/lib/vagrant/action/box/unpackage.rb:52:in `block in decompress'
        from c:/Ruby193/lib/ruby/gems/1.9.1/gems/vagrant-1.0.7/lib/vagrant/action/box/unpackage.rb:49:in `chdir'
        from c:/Ruby193/lib/ruby/gems/1.9.1/gems/vagrant-1.0.7/lib/vagrant/action/box/unpackage.rb:49:in `decompress'
        from c:/Ruby193/lib/ruby/gems/1.9.1/gems/vagrant-1.0.7/lib/vagrant/action/box/unpackage.rb:28:in `call'
        from c:/Ruby193/lib/ruby/gems/1.9.1/gems/vagrant-1.0.7/lib/vagrant/action/warden.rb:33:in `call'
        from c:/Ruby193/lib/ruby/gems/1.9.1/gems/vagrant-1.0.7/lib/vagrant/action/box/download.rb:23:in `call'
        from c:/Ruby193/lib/ruby/gems/1.9.1/gems/vagrant-1.0.7/lib/vagrant/action/warden.rb:33:in `call'
        from c:/Ruby193/lib/ruby/gems/1.9.1/gems/vagrant-1.0.7/lib/vagrant/action/general/check_virtualbox.rb:23:in `call'
        from c:/Ruby193/lib/ruby/gems/1.9.1/gems/vagrant-1.0.7/lib/vagrant/action/warden.rb:33:in `call'
        from c:/Ruby193/lib/ruby/gems/1.9.1/gems/vagrant-1.0.7/lib/vagrant/action/builder.rb:92:in `call'
        from c:/Ruby193/lib/ruby/gems/1.9.1/gems/vagrant-1.0.7/lib/vagrant/action/runner.rb:49:in `block in run'
        from c:/Ruby193/lib/ruby/gems/1.9.1/gems/vagrant-1.0.7/lib/vagrant/util/busy.rb:19:in `busy'
        from c:/Ruby193/lib/ruby/gems/1.9.1/gems/vagrant-1.0.7/lib/vagrant/action/runner.rb:49:in `run'
        from c:/Ruby193/lib/ruby/gems/1.9.1/gems/vagrant-1.0.7/lib/vagrant/box_collection.rb:38:in `add'
        from c:/Ruby193/lib/ruby/gems/1.9.1/gems/vagrant-1.0.7/lib/vagrant/command/box_add.rb:30:in `execute'
        from c:/Ruby193/lib/ruby/gems/1.9.1/gems/vagrant-1.0.7/lib/vagrant/command/box.rb:31:in `execute'
        from c:/Ruby193/lib/ruby/gems/1.9.1/gems/vagrant-1.0.7/lib/vagrant/cli.rb:42:in `execute'
        from c:/Ruby193/lib/ruby/gems/1.9.1/gems/vagrant-1.0.7/lib/vagrant/environment.rb:167:in `cli'
        from c:/Ruby193/lib/ruby/gems/1.9.1/gems/vagrant-1.0.7/bin/vagrant:43:in `<top (required)>'
        from c:/Ruby193/bin/vagrant:19:in `load'
        from c:/Ruby193/bin/vagrant:19:in `<main>'