sstephenson/sprockets — Issue #234: NoMethodError: undefined method `iso8601' for 2011-10-26 06:31:23 -0700:Time
Author: m3talsmith
Created: 2011-10-28 00:57:15+00:00
State: open

Using:

> 1. Rails 3.1.1
> 1. Ruby 1.9.2p290 (2011-07-09 revision 32553) [x86_64-darwin11.2.0]
> 1. RSpec (2.7.0)
> 1. Capybara (1.1.1)
> 1. capybara-webkit (0.7.2)

When running any test that has

> :js => true

The error arises from the Sprockets::Asset:61

I've forked the sprockets project and just return value.to_s which really doesn't help fix the problem so much as sidestep it. This blows up using the selenium-driver as well from version 2.0.2 - 2.0.3

You can see my hack commit here: https://github.com/rebelhold/sprockets/commit/1b991ab0eda1af38f930b1027e2b375ac2cb881f

I'm going to try a few things to actually repair this but I wanted to log it incase others bump in to the problem.