Skip to content

Instantly share code, notes, and snippets.

@charlesroper
Created February 17, 2010 22:05
Show Gist options
  • Save charlesroper/307070 to your computer and use it in GitHub Desktop.
Save charlesroper/307070 to your computer and use it in GitHub Desktop.
[ D:\Users\charlesr\Documents\My Dropbox\Code\Projects\RailsTutorial\sample_app_4win ]
> gem install autotest
Successfully installed autotest-4.2.8
1 gem installed
[ D:\Users\charlesr\Documents\My Dropbox\Code\Projects\RailsTutorial\sample_app_4win ]
> autospec
loading autotest/rails_rspec
style: RailsRspec
--------------------------------------------------------------------------------
←[2J←[fC:\Users\charlesr\Tools\Ruby\ruby-1.8.7-p249-i386-mingw32\bin\ruby C:/Users/charlesr/Tools/Ruby/ruby-1.8.7-p249-i386-mingw32/lib/ruby/gems/1.8/gems/rspec-1.3.0/bin/spec --autospec D:/Users/charlesr/Documents/My Dropbox/Code/Projects/RailsTutorial/sample_app_4win/spec/controllers/pages_controller_spec.rb D:/Users/charlesr/Documents/My Dropbox/Code/Projects/RailsTutorial/sample_app_4win/spec/helpers/pages_helper_spec.rb -O spec/spec.opts
C:/Users/charlesr/Tools/Ruby/ruby-1.8.7-p249-i386-mingw32/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/runner/options.rb:7:in `mtime': No such file or directory - D:/Users/charlesr/Documents/My (Errno::ENOENT)
from C:/Users/charlesr/Tools/Ruby/ruby-1.8.7-p249-i386-mingw32/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/runner/options.rb:7
from C:/Users/charlesr/Tools/Ruby/ruby-1.8.7-p249-i386-mingw32/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/runner/options.rb:368:in `sort'
from C:/Users/charlesr/Tools/Ruby/ruby-1.8.7-p249-i386-mingw32/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/runner/options.rb:368:in `sorted_files'
from C:/Users/charlesr/Tools/Ruby/ruby-1.8.7-p249-i386-mingw32/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/runner/options.rb:275:in `files_to_load'
from C:/Users/charlesr/Tools/Ruby/ruby-1.8.7-p249-i386-mingw32/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/runner/options.rb:133:in `run_examples'
from C:/Users/charlesr/Tools/Ruby/ruby-1.8.7-p249-i386-mingw32/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/runner/command_line.rb:9:in `run'
from C:/Users/charlesr/Tools/Ruby/ruby-1.8.7-p249-i386-mingw32/lib/ruby/gems/1.8/gems/rspec-1.3.0/bin/spec:5
Notification sent successfully
Notification sent successfully
@suzukimilanpaak
Copy link

Hi charlesr,

I'm getting same problem. Did you diagnose the problem?

@charlesroper
Copy link
Author

Hmm, I can't remember. I'll post back here if I discover what happened with this.

@suzukimilanpaak
Copy link

I remember that I got this when typo was in spec.opts for RSpec on Rails.

@julescopeland
Copy link

I've just got this problem too, I've got a feeling that it's got something to do with having a folder name with a space in it - i.e. in your case:

/Documents/My Dropbox/Code/

I've got the same thing too. I had a quick a look at the source files, but I'm still a relative ruby noob. It looks as though it's pulling in the URI as an array and doing a split on it or something.

I'm pretty sure that's where the problem lies, but I'm not clever enough to fix it.

Any ideas?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment