We are having the exact same problem: We upgraded from Rails 3 to 4 and 
have started seeing these. We're running Capybara with PhantomJS and 
Cucumber.

We get intermittent "ActionView::Template::Error: end of file reached" 
errors, and have been since we upgraded  to Rails 4. We are running 
spring in :development but not in :test (and Spring is causing weird 
problems, too, but they aren't related).

    rails (4.0.4)
      actionmailer (= 4.0.4)
      actionpack (= 4.0.4)
      activerecord (= 4.0.4)
      activesupport (= 4.0.4)
      bundler (>= 1.3.0, < 2.0)
      railties (= 4.0.4)
      sprockets-rails (~> 2.0.0)
    sprockets (2.12.0)
      hike (~> 1.2)
      multi_json (~> 1.0)
      rack (~> 1.0)
      tilt (~> 1.1, != 1.3.0)
  sass-rails (~> 4.0.1)
    coffee-rails (4.0.1)
      coffee-script (>= 2.2.0)
      railties (>= 4.0.0, < 5.0)
    coffee-rails-source-maps (1.4.0)
      coffee-script-source (>= 1.6.1)
    coffee-script (2.2.0)
      coffee-script-source
      execjs

-- 
Posted via http://www.ruby-forum.com/.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/2e942157c54970ea79525a45c57d17d8%40ruby-forum.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to