[rspec-users] Autotest Errors

Trenton Scott TTS at rainleader.com
Wed Feb 2 19:24:10 EST 2011


>From my Rails project directory in Terminal, I'm able to run 'bundle
exec rspec spec/' and it works successfully. When I try and run
'autotest', however, I get the error(s) below. Note: my .autotest file
has require 'autotest/growl' and require 'autotest/fsevent' in it and
I have both installed.

Here's the error (below), any thoughts?

====

Trenton-Scotts-MacBook-Air:sample_app TTS$ autotest
loading autotest/rails_rspec2
style: RailsRspec2


--------------------------------------------------------------------------------


bundle exec /Users/TTS/.rvm/rubies/ruby-1.9.2-p136/bin/ruby -S /Users/
TTS/.rvm/gems/ruby-1.9.2-p136/gems/rspec-core-2.3.1/bin/rspec --tty '/
Users/TTS/Documents/Rails/sample_app/spec/controllers/
pages_controller_spec.rb'
/Users/TTS/.rvm/gems/ruby-1.9.2-p136/gems/rspec-core-2.0.1/lib/rspec/
core/option_parser.rb:18:in `parse!': invalid option: --tty
(OptionParser::InvalidOption)
	from /Users/TTS/.rvm/gems/ruby-1.9.2-p136/gems/rspec-core-2.0.1/lib/
rspec/core/option_parser.rb:4:in `parse!'
	from /Users/TTS/.rvm/gems/ruby-1.9.2-p136/gems/rspec-core-2.0.1/lib/
rspec/core/configuration_options.rb:64:in `parse_command_line_options'
	from /Users/TTS/.rvm/gems/ruby-1.9.2-p136/gems/rspec-core-2.0.1/lib/
rspec/core/configuration_options.rb:46:in `parse_options'
	from /Users/TTS/.rvm/gems/ruby-1.9.2-p136/gems/rspec-core-2.0.1/lib/
rspec/core/runner.rb:41:in `run'
	from /Users/TTS/.rvm/gems/ruby-1.9.2-p136/gems/rspec-core-2.0.1/lib/
rspec/core/runner.rb:10:in `block in autorun'

==


More information about the rspec-users mailing list