Sporkエラー
WindowsでRSpec使ってみようとやっているが spork のエラーではまり中
⇒ Macではすんなり通ったので、スルーして先を急ぐ。
gem install spork --debug -V Exception `NameError' at c:/ruby/lib/ruby/1.9.1/rubygems/command_manager.rb:164 - uninitialized constant Gem::Commands::InstallCommand Exception `NameError' at c:/ruby/lib/ruby/1.9.1/syck/tag.rb:81 - method `yaml_as' not defined in Module Exception `Gem::LoadError' at c:/ruby/lib/ruby/1.9.1/rubygems.rb:762 - Could not find RubyGem test-unit (>= 0) Exception `Gem::LoadError' at c:/ruby/lib/ruby/1.9.1/rubygems.rb:762 - Could not find RubyGem sources (> 0.0.1) Exception `Errno::EWOULDBLOCK' at c:/ruby/lib/ruby/1.9.1/net/protocol.rb:135 - ブロック不可のソケット操作をすぐに完了できませんでした。 - read would block : Exception `Errno::EWOULDBLOCK' at c:/ruby/lib/ruby/1.9.1/net/protocol.rb:135 - ブロック不可のソケット操作をすぐに完了できませんでした。 - read would block Exception `Errno::EEXIST' at c:/ruby/lib/ruby/1.9.1/fileutils.rb:243 - File exists - C:/Users/ofukui/.gem/specs/rubygems.org%80 Exception `NoMethodError' at c:/ruby/lib/ruby/1.9.1/rubygems/specification.rb:538 - undefined method `to_ary' for #<Gem::Specification name=spork version=0.8.4> Exception `NoMethodError' at c:/ruby/lib/ruby/1.9.1/rubygems/package/tar_input.rb:49 - undefined method `readpartial' for #<Gem::Package::TarReader::Entry:0x4003ef0> Exception `IOError' at c:/ruby/lib/ruby/1.9.1/rubygems/format.rb:50 - closed stream Exception `Errno::EEXIST' at c:/ruby/lib/ruby/1.9.1/fileutils.rb:243 - File exists - c:/ruby/lib/ruby/gems/1.9.1 Exception `Errno::EEXIST' at c:/ruby/lib/ruby/1.9.1/fileutils.rb:243 - File exists - c:/ruby/lib/ruby/gems/1.9.1/gems/spork-0.8.4 : Exception `Errno::EEXIST' at c:/ruby/lib/ruby/1.9.1/fileutils.rb:243 - File exists - c:/ruby/lib/ruby/gems/1.9.1/gems/spork-0.8.4/bin Exception `Errno::EEXIST' at c:/ruby/lib/ruby/1.9.1/fileutils.rb:243 - File exists - c:/ruby/lib/ruby/gems/1.9.1/gems/spork-0.8.4/ext Exception `Gem::Exception' at c:/ruby/lib/ruby/1.9.1/rubygems.rb:335 - no default executable for rake-0.8.7 Exception `Gem::InstallError' at c:/ruby/lib/ruby/1.9.1/rubygems/ext/builder.rb:49 - rake failed: c:/ruby/bin/ruby.exe mkrf_conf.rb Actually, there aren't any native extensions. I'm just dynamically installing dependencies based off of your operating system rake RUBYARCHDIR=c:/ruby/lib/ruby/gems/1.9.1/gems/spork-0.8.4/lib RUBYLIBDIR=c:/ruby/lib/ruby/gems/1.9.1/gems/spork-0.8.4/lib c:/ruby/lib/ruby/1.9.1/rubygems.rb:340:in `bin_path': can't find executable rake for rake-0.8.7 (Gem::Exception) from c:/rubException `Gem::Installer::ExtensionBuildError' at c:/ruby/lib/ruby/1.9.1/rubygems/installer.rb:483 - ERROR: Failed to build gem native extension. c:/ruby/bin/ruby.exe mkrf_conf.rb Actually, there aren't any native extensions. I'm just dynamically installing dependencies based off of your operating system rake RUBYARCHDIR=c:/ruby/lib/ruby/gems/1.9.1/gems/spork-0.8.4/lib RUBYLIBDIR=c:/ruby/lib/ruby/gems/1.9.1/gems/spork-0.8.4/lib c:/ruby/lib/ruby/1.9.1/rubygems.rb:340:in `bin_path': can't find executable ERROR: Error installing spork: ERROR: Failed to build gem native extension. c:/ruby/bin/ruby.exe mkrf_conf.rb Actually, there aren't any native extensions. I'm just dynamically installing dependencies based off of your operating system rake RUBYARCHDIR=c:/ruby/lib/ruby/gems/1.9.1/gems/spork-0.8.4/lib RUBYLIBDIR=c:/ruby/lib/ruby/gems/1.9.1/gems/spork-0.8.4/lib c:/ruby/lib/ruby/1.9.1/rubygems.rb:340:in `bin_path': can't find executable rake for rake-0.8.7 (Gem::Exception) from c:/ruby/bin/rake:19:in `<main>' Gem files will remain installed in c:/ruby/lib/ruby/gems/1.9.1/gems/spork-0.8.4 for inspection. Results logged to c:/ruby/lib/ruby/gems/1.9.1/gems/spork-0.8.4/ext/gem_make.out GET http://rubygems.org/latest_specs.4.8.gz 302 Found GET http://production.s3.rubygems.org/latest_specs.4.8.gz 200 OK Installing gem spork-0.8.4 Temporarily enhancing PATH to include DevKit... c:/ruby/lib/ruby/gems/1.9.1/gems/spork-0.8.4/geminstaller.yml c:/ruby/lib/ruby/gems/1.9.1/gems/spork-0.8.4/README.rdoc c:/ruby/lib/ruby/gems/1.9.1/gems/spork-0.8.4/MIT-LICENSE c:/ruby/lib/ruby/gems/1.9.1/gems/spork-0.8.4/lib/spork/app_framework/padrino.rb c:/ruby/lib/ruby/gems/1.9.1/gems/spork-0.8.4/lib/spork/app_framework/rails.rb c:/ruby/lib/ruby/gems/1.9.1/gems/spork-0.8.4/lib/spork/app_framework/rails_stub_files/application.rb c:/ruby/lib/ruby/gems/1.9.1/gems/spork-0.8.4/lib/spork/app_framework/rails_stub_files/application_controller.rb c:/ruby/lib/ruby/gems/1.9.1/gems/spork-0.8.4/lib/spork/app_framework/rails_stub_files/application_helper.rb c:/ruby/lib/ruby/gems/1.9.1/gems/spork-0.8.4/lib/spork/app_framework/unknown.rb c:/ruby/lib/ruby/gems/1.9.1/gems/spork-0.8.4/lib/spork/app_framework.rb c:/ruby/lib/ruby/gems/1.9.1/gems/spork-0.8.4/lib/spork/custom_io_streams.rb c:/ruby/lib/ruby/gems/1.9.1/gems/spork-0.8.4/lib/spork/diagnoser.rb c:/ruby/lib/ruby/gems/1.9.1/gems/spork-0.8.4/lib/spork/ext/rails-reloader.rb c:/ruby/lib/ruby/gems/1.9.1/gems/spork-0.8.4/lib/spork/ext/ruby-debug.rb c:/ruby/lib/ruby/gems/1.9.1/gems/spork-0.8.4/lib/spork/forker.rb c:/ruby/lib/ruby/gems/1.9.1/gems/spork-0.8.4/lib/spork/run_strategy/forking.rb c:/ruby/lib/ruby/gems/1.9.1/gems/spork-0.8.4/lib/spork/run_strategy/magazine/magazine_slave.rb c:/ruby/lib/ruby/gems/1.9.1/gems/spork-0.8.4/lib/spork/run_strategy/magazine/magazine_slave_provider.rb c:/ruby/lib/ruby/gems/1.9.1/gems/spork-0.8.4/lib/spork/run_strategy/magazine/ring_server.rb c:/ruby/lib/ruby/gems/1.9.1/gems/spork-0.8.4/lib/spork/run_strategy/magazine.rb c:/ruby/lib/ruby/gems/1.9.1/gems/spork-0.8.4/lib/spork/run_strategy.rb c:/ruby/lib/ruby/gems/1.9.1/gems/spork-0.8.4/lib/spork/runner.rb c:/ruby/lib/ruby/gems/1.9.1/gems/spork-0.8.4/lib/spork/server.rb c:/ruby/lib/ruby/gems/1.9.1/gems/spork-0.8.4/lib/spork/test_framework/cucumber.rb c:/ruby/lib/ruby/gems/1.9.1/gems/spork-0.8.4/lib/spork/test_framework/rspec.rb c:/ruby/lib/ruby/gems/1.9.1/gems/spork-0.8.4/lib/spork/test_framework.rb c:/ruby/lib/ruby/gems/1.9.1/gems/spork-0.8.4/lib/spork.rb c:/ruby/lib/ruby/gems/1.9.1/gems/spork-0.8.4/assets/bootstrap.rb c:/ruby/lib/ruby/gems/1.9.1/gems/spork-0.8.4/features/at_exit_during_each_run.feature c:/ruby/lib/ruby/gems/1.9.1/gems/spork-0.8.4/features/cucumber_rails_integration.feature c:/ruby/lib/ruby/gems/1.9.1/gems/spork-0.8.4/features/diagnostic_mode.feature c:/ruby/lib/ruby/gems/1.9.1/gems/spork-0.8.4/features/rails_delayed_loading_workarounds.feature c:/ruby/lib/ruby/gems/1.9.1/gems/spork-0.8.4/features/rspec_rails_integration.feature c:/ruby/lib/ruby/gems/1.9.1/gems/spork-0.8.4/features/spork_debugger.feature c:/ruby/lib/ruby/gems/1.9.1/gems/spork-0.8.4/features/steps/general_steps.rb c:/ruby/lib/ruby/gems/1.9.1/gems/spork-0.8.4/features/steps/rails_steps.rb c:/ruby/lib/ruby/gems/1.9.1/gems/spork-0.8.4/features/steps/sandbox_steps.rb c:/ruby/lib/ruby/gems/1.9.1/gems/spork-0.8.4/features/support/background_job.rb c:/ruby/lib/ruby/gems/1.9.1/gems/spork-0.8.4/features/support/env.rb c:/ruby/lib/ruby/gems/1.9.1/gems/spork-0.8.4/features/unknown_app_framework.feature c:/ruby/lib/ruby/gems/1.9.1/gems/spork-0.8.4/spec/spec_helper.rb c:/ruby/lib/ruby/gems/1.9.1/gems/spork-0.8.4/spec/spork/app_framework/rails_spec.rb c:/ruby/lib/ruby/gems/1.9.1/gems/spork-0.8.4/spec/spork/app_framework/unknown_spec.rb c:/ruby/lib/ruby/gems/1.9.1/gems/spork-0.8.4/spec/spork/app_framework_spec.rb c:/ruby/lib/ruby/gems/1.9.1/gems/spork-0.8.4/spec/spork/diagnoser_spec.rb c:/ruby/lib/ruby/gems/1.9.1/gems/spork-0.8.4/spec/spork/forker_spec.rb c:/ruby/lib/ruby/gems/1.9.1/gems/spork-0.8.4/spec/spork/run_strategy/forking_spec.rb c:/ruby/lib/ruby/gems/1.9.1/gems/spork-0.8.4/spec/spork/runner_spec.rb c:/ruby/lib/ruby/gems/1.9.1/gems/spork-0.8.4/spec/spork/server_spec.rb c:/ruby/lib/ruby/gems/1.9.1/gems/spork-0.8.4/spec/spork/test_framework/cucumber_spec.rb c:/ruby/lib/ruby/gems/1.9.1/gems/spork-0.8.4/spec/spork/test_framework/rspec_spec.rb c:/ruby/lib/ruby/gems/1.9.1/gems/spork-0.8.4/spec/spork/test_framework_spec.rb c:/ruby/lib/ruby/gems/1.9.1/gems/spork-0.8.4/spec/spork_spec.rb c:/ruby/lib/ruby/gems/1.9.1/gems/spork-0.8.4/spec/support/fake_framework.rb c:/ruby/lib/ruby/gems/1.9.1/gems/spork-0.8.4/spec/support/fake_run_strategy.rb c:/ruby/lib/ruby/gems/1.9.1/gems/spork-0.8.4/bin/spork c:/ruby/lib/ruby/gems/1.9.1/gems/spork-0.8.4/ext/mkrf_conf.rb c:/ruby/bin/spork c:/ruby/bin/spork.bat Building native extensions. This could take a while...