sinisterchipmunk / jax

Framework for creating rich WebGL-enabled applications using JavaScript and Ruby
http://jaxgl.com
MIT License
96 stars 16 forks source link

Specs that fail to compile produce circular dependency errors #53

Closed sinisterchipmunk closed 12 years ago

sinisterchipmunk commented 12 years ago

When a Jasmine spec written in CoffeeScript fails to compile (that is, the CoffeeScript compiler fails for some reason -- usually due to a syntax error), subsequent requests for that file will result in circular dependency errors. This continues until the development server is restarted.

sinisterchipmunk commented 12 years ago

This is either a bug in Sprockets or in Rails and has already been fixed. It is discussed in more detail in https://github.com/sstephenson/sprockets/issues/133.

Upgrading the bundle gems to their latest versions solves this issue.

Related: I pushed a commit yesterday (96d861cb150212c43e57ea4af7df399bdf163803) to fix jax dependency resolution, so newer versions of (e.g. Rails 3.2) can now be used.