samizdatco / arbor

a graph visualization library using web workers and jQuery
http://arborjs.org
2.66k stars 633 forks source link

Problems with Rails environments. #36

Open mockdeep opened 11 years ago

mockdeep commented 11 years ago

I built an arbor rails engine and I'm having some trouble between different environments. I've discovered that if I set config.assets.debug to false in the environments file it breaks with the following message in the log:

Started GET "/nullarbor.js" for 127.0.0.1 at 2012-09-20 16:43:42 -0700

ActionController::RoutingError (No route matches [GET] "/nullarbor.js"):

Checking through the code, I think it's linked to the arbor_path function inside https://github.com/samizdatco/arbor/blob/master/src/etc.js. Is there a reason it needs to find itself?