Rails Assets - 404 with .map extension

后端 未结 1 1688
执念已碎
执念已碎 2020-12-15 06:57

I am getting the following error for several of my assets in my Rails app.

ActionController::RoutingError (No route matches [GET] \"/assets/jquery-1.10.2.mi         


        
相关标签:
1条回答
  • 2020-12-15 07:25

    It's related to the new source map support that started shipping in jQuery 1.9RC1.

    You can either follow the directions from the 1.9RC1 link and add the compressed, uncompressed, and map files to your vendor/assets directory or remove the source map line from the uncompressed file (it looks like //@ sourceMappingURL=jquery-1.10.2.min.map).

    Hope that helps.

    0 讨论(0)
提交回复
热议问题