From: Toshiro Miballza Date: 2010-05-30T18:22:43+09:00 Subject: `require': no such file to load on Windows Hello, I'm new to Ruby and came across this error when trying to run: spec "C:\Ruby19\wwwjdic2db\spec\p4_importer_spec.rb" The output is as follows: C:\Ruby19\bin>spec "C:\Ruby19\project4\spec\p4_importer_spec.rb" C:\Ruby19\project4\spec\p4_importer.rb:3:in `require': no such file to load -- p4_importer (LoadError) from C:\Ruby19\project4\spec\p4_importer.rb:3:in `' from C:/Ruby19/lib/ruby/gems/1.9.1/gems/rspec-1.3.0/lib/spec/runner/example_group_runner.rb:15:in `load' from C:/Ruby19/lib/ruby/gems/1.9.1/gems/rspec-1.3.0/lib/spec/runner/example_group_runner.rb:15:in `block in load_files' from C:/Ruby19/lib/ruby/gems/1.9.1/gems/rspec-1.3.0/lib/spec/runner/example_group_runner.rb:14:in `each' from C:/Ruby19/lib/ruby/gems/1.9.1/gems/rspec-1.3.0/lib/spec/runner/example_group_runner.rb:14:in `load_files' from C:/Ruby19/lib/ruby/gems/1.9.1/gems/rspec-1.3.0/lib/spec/runner/options.rb:133:in `run_examples' from C:/Ruby19/lib/ruby/gems/1.9.1/gems/rspec-1.3.0/lib/spec/runner/command_line.rb:9:in `run' from C:/Ruby19/lib/ruby/gems/1.9.1/gems/rspec-1.3.0/bin/spec:5:in `' from C:/Ruby19/bin/spec:19:in `load' from C:/Ruby19/bin/spec:19:in `
' The installed gems are: actionmailer (2.3.8, 2.3.5) actionpack (2.3.8, 2.3.5) activerecord (2.3.8, 2.3.5) activeresource (2.3.8, 2.3.5) activesupport (2.3.8, 2.3.5) ar-extensions (0.9.2) aub-record_filter (0.9.12) authlogic (2.1.5) authlogic-oid (1.0.4) composite_primary_keys (2.3.5.1) haml (3.0.6) rack (1.1.0, 1.0.1) rails (2.3.8, 2.3.5) rake (0.8.7) rspec (1.3.0) rspec-rails (1.3.2) rubygems-update (1.3.7) sqlite3-ruby (1.2.5 x86-mingw32) will_paginate (2.3.14) win32console (1.3.0 x86-mingw32) Why is it saying there is no such file to load? -- Posted via http://www.ruby-forum.com/.