ruby on rails - autotest shows blank -
i installed autotest gem , intend use rspec. problem is, when run autotest under rails app, see :
railsapp$ autospec
loading autotest/rails_rspec
and stuck there until ctrl-c out of it. nothing changes if change rspec test or code.
here's ~/.autotest
require "autotest/restart"
require 'redgreen/autotest'
require 'autotest/fsevent'
require "autotest/growl"
i had same problem. able working making sure on latest (beta, if necessary) versions of rspec, rspec-rails, autotest, , autotest-rails, , putting following in autotest/discovery.rb:
autotest.add_discovery { "rails" } autotest.add_discovery { "rspec2" }
here's the blog post got me started in right direction.
Comments
Post a Comment